 |
PdfImageSection(Single, Single, Single, Single, Stream) Constructor |
Creates an image object that can be added to the header or footer templates of a pdf document.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic PdfImageSection(
float x,
float y,
float width,
float height,
Stream imageStream
)
Public Sub New (
x As Single,
y As Single,
width As Single,
height As Single,
imageStream As Stream
)
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.
- height Single
- The destination rectangle height.
- imageStream Stream
- The image stream.
Remarks
The image object is created from the specified stream that will be rendered at the position (x,y) in the pdf header or footer
with the specified destination width and height size.
See Also