The C1PdfDocumentBase type exposes the following members.

Constructors

  Name Description
Public method C1PdfDocumentBase
Initializes a new instance of a C1PdfDocument.

Methods

  Name Description
Public method Clear
Restores the document to its initial state.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method NewPage
Starts a new page.
Public method Save(Stream)
Saves the Pdf document to a Stream.
Public method Save(String)
Saves the Pdf document to a file.
Public method Static member ToPixels(Double)
Converts points to pixels.
Public method Static member ToPixels(Rect)
Converts points to pixels.
Public method Static member ToPixels(Size)
Converts points to pixels.
Public method Static member ToPoints(Double)
Converts pixels to points.
Public method Static member ToPoints(Rect)
Converts pixels to points.
Public method Static member ToPoints(Size)
Converts pixels to points.
Public method ToString (Inherited from Object.)
Public method Write
Writes raw content into the Pdf stream for the current page.

Properties

  Name Description
Public property Compression
Gets or sets the compression level to use when saving the document.
Public property CurrentPage
Gets or sets the index of the current page within the document.
Public property DocumentInfo
Gets the PdfDocumentInfo object that contains information about this document (author, etc).
Public property NumberDecimalDigits
Gets or sets the maximum number of decimal places to use in numeric values. The default is 6. Decrease it to make the PDF file smaller.
Public property PageRectangle
Gets a rectangle that represents the surface of the current page (in points).
Public property Pages
Gets the collection of PdfPage objects that make up the document.
Public property PageSize
Gets or sets the default page size for the document (in points).
Public property Security
Gets the PdfSecurity object that manages security for this document (passwords, etc).
Public property ViewerPreferences
Gets the PdfViewerPreferences object that contains information about how this document should be displayed.

Events

  Name Description
Public event GeneratingDocument
Fires periodically while data is written into the PDF document.
Public event SavingDocument
Fires while pages are written to the PDF stream after a call to the Save(Stream) method.

See Also