|
PdfImageElement Constructor (Single, Single, Single, Image) |
Creates an image object that can be added to a pdf document.
Namespace:
SelectPdf
Assembly:
Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax public PdfImageElement(
float x,
float y,
float width,
Image imageObj
)
Public Sub New (
x As Single,
y As Single,
width As Single,
imageObj As Image
)
Parameters
- x
- Type: System.Single
The X position where this element will be rendered. - y
- Type: System.Single
The Y position where this element will be rendered. - width
- Type: System.Single
The destination rectangle width. - imageObj
- Type: System.Drawing.Image
The system image object.
Remarks
The image object is created from the specified Image object that will be rendered at the position (x,y)
with the specified destination width and the height auto determined to keep the aspect ratio.
See Also