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
)
Public Shared Function GenerateLinedPaperDoc (
width As Double,
height As Double,
line_spacing As Double,
line_thickness As Double,
red As Double,
green As Double,
blue As Double,
left_margin_distance As Double,
left_margin_red As Double,
left_margin_green As Double,
left_margin_blue As Double,
right_margin_red As Double,
right_margin_green As Double,
right_margin_blue As Double,
background_red As Double,
background_green As Double,
background_blue As Double,
top_margin_distance As Double,
bottom_margin_distance As Double
) As PDFDoc
public:
static PDFDoc^ GenerateLinedPaperDoc(
[InAttribute] double width,
[InAttribute] double height,
[InAttribute] double line_spacing,
[InAttribute] double line_thickness,
[InAttribute] double red,
[InAttribute] double green,
[InAttribute] double blue,
[InAttribute] double left_margin_distance,
[InAttribute] double left_margin_red,
[InAttribute] double left_margin_green,
[InAttribute] double left_margin_blue,
[InAttribute] double right_margin_red,
[InAttribute] double right_margin_green,
[InAttribute] double right_margin_blue,
[InAttribute] double background_red,
[InAttribute] double background_green,
[InAttribute] double background_blue,
[InAttribute] double top_margin_distance,
[InAttribute] double bottom_margin_distance
)
pdftron.PDF.PDFDocGenerator.GenerateLinedPaperDoc = function(width, height, line_spacing, line_thickness, red, green, blue, left_margin_distance, left_margin_red, left_margin_green, left_margin_blue, right_margin_red, right_margin_green, right_margin_blue, background_red, background_green, background_blue, top_margin_distance, 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:
PDFDocGenerated PDF document
See Also