ImageArea(Single, Single, Single, Byte) Constructor |
Creates an ImageElement from the specified image (the bytes of a PNG, JPEG, BMP, GIF, WebP or TIFF image) that will be rendered at the position (x,y)
with the destWidth width and an auto detected height.
Namespace: ExpertPdf.Anywhere.HtmlToPdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic ImageArea(
float x,
float y,
float destWidth,
byte[] imageObj
)
Public Sub New (
x As Single,
y As Single,
destWidth As Single,
imageObj As Byte()
)
Parameters
- x Single
- The X location where this element will be rendered
- y Single
- The Y location where this element will be rendered
- destWidth Single
- The destination rectangle width
- imageObj Byte
- The image bytes
See Also