PDFDocGeneratorGenerateGraphPaperDoc Method |
Create a new document with one page of graph paper.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static PDFDoc GenerateGraphPaperDoc(
double width,
double height,
double grid_spacing,
double line_thickness,
double weighted_line_thickness,
int weighted_line_freq,
double red,
double green,
double blue,
double background_red,
double background_green,
double background_blue
)
Public Shared Function GenerateGraphPaperDoc (
width As Double,
height As Double,
grid_spacing As Double,
line_thickness As Double,
weighted_line_thickness As Double,
weighted_line_freq As Integer,
red As Double,
green As Double,
blue As Double,
background_red As Double,
background_green As Double,
background_blue As Double
) As PDFDoc
public:
static PDFDoc^ GenerateGraphPaperDoc(
[InAttribute] double width,
[InAttribute] double height,
[InAttribute] double grid_spacing,
[InAttribute] double line_thickness,
[InAttribute] double weighted_line_thickness,
[InAttribute] int weighted_line_freq,
[InAttribute] double red,
[InAttribute] double green,
[InAttribute] double blue,
[InAttribute] double background_red,
[InAttribute] double background_green,
[InAttribute] double background_blue
)
pdftron.PDF.PDFDocGenerator.GenerateGraphPaperDoc = function(width, height, grid_spacing, line_thickness, weighted_line_thickness, weighted_line_freq, red, green, blue, background_red, background_green, background_blue);
Parameters
- width
- Type: SystemDouble
The page width in inches - height
- Type: SystemDouble
The page height in inches - grid_spacing
- Type: SystemDouble
The grid spacing in inches - line_thickness
- Type: SystemDouble
The line thickness in points - weighted_line_thickness
- Type: SystemDouble
The weighted line thickness in points - weighted_line_freq
- Type: SystemInt32
Ratio of weighted lines to normal lines - 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 - 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:
PDFDocGenerated PDF document
See Also