PageAddImage Method (String, Stream, Rectangle) |
Adds searchable image onto the page and locates it in the middle of specified rectangle saving image's proportion.
Namespace: Aspose.PdfAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntaxpublic void AddImage(
string hocr,
Stream imageStream,
Rectangle imageRect
)
Public Sub AddImage (
hocr As String,
imageStream As Stream,
imageRect As Rectangle
)
public:
void AddImage(
String^ hocr,
Stream^ imageStream,
Rectangle^ imageRect
)
member AddImage :
hocr : string *
imageStream : Stream *
imageRect : Rectangle -> unit
Parameters
- hocr
- Type: SystemString
The hocr of the image. - imageStream
- Type: System.IOStream
The stream of the image. - imageRect
- Type: Aspose.PdfRectangle
The position of the image.
See Also