Click or drag to resize

CPDFEditImageAreaReplaceImageArea Method (CRect, Byte, Int32, Int32)

Replace the image.

Namespace:  ComPDFKit.PDFPage.Edit
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.0.0.0
Syntax
C#
public bool ReplaceImageArea(
	CRect rect,
	byte[] imageData,
	int imageWidth,
	int imageHeight
)

Parameters

rect
Type: ComPDFKit.ImportCRect
Rectangle on the page.
imageData
Type: SystemByte
Image resource.
imageWidth
Type: SystemInt32
Image width.
imageHeight
Type: SystemInt32
Image height.

Return Value

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