PDF File Writer Class Library - Author Uzi Granot
PdfDocument Constructor (PaperType, Boolean, UnitOfMeasure, String) |
PDF document constructor
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)

C#
public PdfDocument( PaperType PaperType, bool Landscape, UnitOfMeasure UnitOfMeasure, string FileName )
Parameters
- PaperType
- Type: PdfFileWriterPaperType
Paper type - Landscape
- Type: SystemBoolean
True for landscape, false for portrait. - UnitOfMeasure
- Type: PdfFileWriterUnitOfMeasure
Unit of measure code. - FileName
- Type: SystemString
Document file name.

This constructor generates a document with default page size of Letter, Leagal, A3, A4 or A5.
Page orientation is determined by the landscape argument.
Unit of measure is a an enumeration constant (Point, Inch, cm, mm)
The PDF document will be saved in a file named FileName.
