Click or drag to resize

CPDFPageRenderPageBitmap Method (Int32, Int32, Int32, Int32, UInt32, Byte, Int32, Boolean)

Render contents of the page to image data.

Namespace:  ComPDFKit.PDFPage
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.0.0.0
Syntax
C#
public void RenderPageBitmap(
	int x,
	int y,
	int width,
	int height,
	uint bgColor,
	byte[] bmp_data,
	int flag,
	bool form = false
)

Parameters

x
Type: SystemInt32
X coordinate in the upper left corner
y
Type: SystemInt32
Y coordinate in the upper left corner
width
Type: SystemInt32
Horizontal size (in pixels) for displaying the page.
height
Type: SystemInt32
Vertical size (in pixels) for displaying the page.
bgColor
Type: SystemUInt32
Background color
bmp_data
Type: SystemByte
Image data
flag
Type: SystemInt32
Render flag, set 1 if annotation are to be rendered, 0 for normal display
form (Optional)
Type: SystemBoolean
Whether to render form widgets
See Also