Click or drag to resize

PDFDocGeneratorGenerateLinedPaperDoc Method

Create a new document with one page of lined paper.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static PDFDoc GenerateLinedPaperDoc(
	double width,
	double height,
	double line_spacing,
	double line_thickness,
	double red,
	double green,
	double blue,
	double left_margin_distance,
	double left_margin_red,
	double left_margin_green,
	double left_margin_blue,
	double right_margin_red,
	double right_margin_green,
	double right_margin_blue,
	double background_red,
	double background_green,
	double background_blue,
	double top_margin_distance,
	double bottom_margin_distance
)

Parameters

width
Type: SystemDouble
The page width in inches
height
Type: SystemDouble
The page height in inches
line_spacing
Type: SystemDouble
The line spacing in inches
line_thickness
Type: SystemDouble
The line thickness in points
red
Type: SystemDouble
The red component of the line color
green
Type: SystemDouble
The green component of the line color
blue
Type: SystemDouble
The blue component of the line color
left_margin_distance
Type: SystemDouble
Distance of the margin from the left side of the page
left_margin_red
Type: SystemDouble
The red component of the left margin color
left_margin_green
Type: SystemDouble
The green component of the left margin color
left_margin_blue
Type: SystemDouble
The blue component of the left margin color
right_margin_red
Type: SystemDouble
The red component of the right margin color
right_margin_green
Type: SystemDouble
The green component of the right margin color
right_margin_blue
Type: SystemDouble
The blue component of the right margin color
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
top_margin_distance
Type: SystemDouble
Distance of the margin from the top of the page
bottom_margin_distance
Type: SystemDouble
Distance of the margin from the bottom of the page

Return Value

Type: PDFDoc
Generated PDF document
See Also