|
PdfImageSection(Single, Single, Single, String) Constructor
|
Creates an image object that can be added to the header or footer templates of a pdf document.
Namespace: SelectPdfAssembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntaxpublic PdfImageSection(
float x,
float y,
float width,
string fileName
)
Public Sub New (
x As Single,
y As Single,
width As Single,
fileName As String
)
Parameters
- x Single
- The X position where this element will be rendered.
- y Single
- The Y position where this element will be rendered.
- width Single
- The destination rectangle width.
- fileName String
- The image file path.
Remarks
The image object is created from the specified file that will be rendered at the position (x,y) in the pdf header or footer
with the specified destination width and the height auto determined to keep the initial aspect ratio.
See Also