C1.Xaml.Pdf Namespace : C1PdfDocumentBase Class |
The following tables list the members exposed by C1PdfDocumentBase.
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. |
Name | Description | |
---|---|---|
Clear | Restores the document to its initial state. | |
NewPage | Starts a new page. | |
Save | Saves the Pdf document to a System.IO.Stream. | |
SaveAsync | Opens an existing zip file stored in a Windows.Storage.StorageFile. | |
ToPixels | Overloaded. Converts points to pixels. | |
ToPoints | Overloaded. Converts pixels to points. | |
Write | Writes raw content into the Pdf stream for the current page. |
Name | Description | |
---|---|---|
CurveTo | Overloaded. For internal use only. Draws a curve from the cursor to the specified position. | |
Ellipse | For internal use only. Draws an ellipse. | |
EndPage | For internal use only. Closes page stream, clears page pointer. | |
FillStroke | Overloaded. For internal use only. Strokes and fills the current path. | |
GetFontSize | Overloaded. For internal use only. Gets the current font size. | |
LineTo | For internal use only. Draws a line from the cursor to the specified position. | |
MoveTo | For internal use only. Moves cursor to a specified position. | |
OnGeneratingDocument | Raises the GeneratingDocument event. | |
OnSavingDocument | Raises the SavingDocument event. | |
PieArc | Overloaded. For internal use only. Draws a pie slice or an arc. | |
Polygon | For internal use only. Draws a polygon. | |
Rectangle | For internal use only. Draws a rectangle. | |
ResetResourceState | For internal use only. Resets current font, pen, and brush state. | |
RoundRect | For internal use only. Draws a rounded rectangle. | |
SetBrush | For internal use only. Sets the current brush color. | |
SetPen | For internal use only. Sets the current pen. | |
StartOverlay | For internal use only. Reopens a page for additional output. | |
StartPage | For internal use only. Adds a page to the page collection, opens stream writer on the new page. | |
TextOut | For internal use only. Output text to current Pdf stream. |
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 method. |