Click or drag to resize

PDFDocGeneratorGenerateBlankPaperDoc Method

Create a new document with one page of blank paper.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static PDFDoc GenerateBlankPaperDoc(
	double width,
	double height,
	double background_red,
	double background_green,
	double background_blue
)

Parameters

width
Type: SystemDouble
The page width in inches
height
Type: SystemDouble
The page height in inches
background_red
Type: SystemDouble
The red component of the background color
background_green
Type: SystemDouble
The green component of the background color
background_blue
Type: SystemDouble
The blue component of the background color

Return Value

Type: PDFDoc
Generated PDF document
See Also