Click or drag to resize

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.0.0.0
Syntax
C#
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: ComPDFKit.ImportC_Scale_Type
The zoom rule for filling the image into the background

Return Value

Type: Boolean
Returns true on success, false on failure.
See Also