CPDFBackgroundSetImage Method (Byte, Int32, Int32, C_Scale_Type) |
Gets the image of the background.
Namespace:
ComPDFKit.PDFDocument
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax public bool SetImage(
byte[] imageData,
int imageWidth,
int imageHeight,
C_Scale_Type scaleType
)
Parameters
- imageData
- Type: SystemByte
Image resource. - imageWidth
- Type: SystemInt32
Image width. - imageHeight
- Type: SystemInt32
Image height. - scaleType
- Type: C_Scale_Type
The zoom rule for filling the image into the background
Return Value
Type:
BooleanReturns true on success, false on failure.
See Also