Click or drag to resize

PDFDocGeneratorGenerateMusicPaperDoc Method

Create a new document with one page of music paper.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static PDFDoc GenerateMusicPaperDoc(
	double width,
	double height,
	double margin,
	int staves,
	double linespace_size_pts,
	double line_thickness,
	double red,
	double green,
	double blue,
	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
margin
Type: SystemDouble
The page margin in inches
staves
Type: SystemInt32
Amount of staves on the page.
linespace_size_pts
Type: SystemDouble
The space between lines in points
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
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