The C1PdfDocumentBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
C1PdfDocumentBase |
Initializes a new instance of a C1PdfDocument.
|
Methods
Name | Description | |
---|---|---|
![]() |
Clear |
Restores the document to its initial state.
|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
NewPage |
Starts a new page.
|
![]() |
Save(Stream) |
Saves the Pdf document to a Stream.
|
![]() |
Save(String) |
Saves the Pdf document to a file.
|
![]() ![]() |
ToPixels(Double) |
Converts points to pixels.
|
![]() ![]() |
ToPixels(Rect) |
Converts points to pixels.
|
![]() ![]() |
ToPixels(Size) |
Converts points to pixels.
|
![]() ![]() |
ToPoints(Double) |
Converts pixels to points.
|
![]() ![]() |
ToPoints(Rect) |
Converts pixels to points.
|
![]() ![]() |
ToPoints(Size) |
Converts pixels to points.
|
![]() |
ToString | (Inherited from Object.) |
![]() |
Write |
Writes raw content into the Pdf stream for the current page.
|
Properties
Name | Description | |
---|---|---|
![]() |
Compression |
Gets or sets the compression level to use when saving the document.
|
![]() |
CurrentPage |
Gets or sets the index of the current page within the document.
|
![]() |
DocumentInfo |
Gets the PdfDocumentInfo object that contains information about
this document (author, etc).
|
![]() |
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.
|
![]() |
PageRectangle |
Gets a rectangle that represents the surface of the current page (in points).
|
![]() |
Pages |
Gets the collection of PdfPage objects that make up the document.
|
![]() |
PageSize |
Gets or sets the default page size for the document (in points).
|
![]() |
Security |
Gets the PdfSecurity object that manages security for this
document (passwords, etc).
|
![]() |
ViewerPreferences |
Gets the PdfViewerPreferences object that contains information about
how this document should be displayed.
|
Events
Name | Description | |
---|---|---|
![]() |
GeneratingDocument |
Fires periodically while data is written into the PDF document.
|
![]() |
SavingDocument |
Fires while pages are written to the PDF stream after a call to the Save(Stream) method.
|