PdfDocument Constructor (Double, Double, Double, String)

PDF File Writer

PdfDocument Constructor (Double, Double, Double, String)

PDF document constructor.

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public PdfDocument(
	double Width,
	double Height,
	double ScaleFactor,
	string FileName
)

Parameters

Width
Type: SystemDouble
Page Width
Height
Type: SystemDouble
Page height
ScaleFactor
Type: SystemDouble
Scale factor
FileName
Type: SystemString
Document file name.
Remarks

This constructor generates a document with default page size as per width and height arguments in user units.

Page orientation is portrait if width is less than height. Otherwise it is landscape.

Scale factor is user unit of measure expressed in points. For example, Inch has scale factor of 72.0.

The PDF document will be saved in a file named FileName.

See Also