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.
|
|
|
CurveTo(Double, Single, Double, Double) |
For internal use only. Draws a curve from the cursor to the specified position.
|
|
|
CurveTo(Double, Double, Double, Double, Double, Double) |
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.
|
|
|
Equals | (Inherited from Object.) |
|
|
FillStroke(Boolean, Boolean, Boolean) |
For internal use only. Strokes and fills the current path.
|
|
|
FillStroke(Boolean, Boolean, Boolean, FillRule) |
For internal use only. Strokes and fills the current path.
|
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
|
GetCurrentID |
For internal use only. Gets the ID of the last object.
|
|
|
GetFontSize()()()() |
For internal use only. Gets the current font size.
|
|
|
GetFontSize(Font) |
For internal use only. Gets the size of a given font.
|
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
|
GetNewID |
For internal use only. Increments the ID for the next object.
|
|
|
GetStreamPosition |
For internal use only. Gets the Position on the page stream.
|
|
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
|
LineTo |
For internal use only. Draws a line from the cursor to the specified position.
|
|
|
MeasureText(String) |
For internal use only.
|
|
|
MeasureText(String, Font) |
For internal use only.
|
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
|
MoveTo |
For internal use only. Moves cursor to a specified position.
|
|
|
NewPage |
Starts a new page.
|
|
|
Normalize |
For internal use only.
|
|
|
OnGeneratingDocument |
Raises the GeneratingDocument event.
|
|
|
OnSavingDocument |
Raises the SavingDocument event.
|
|
|
PieArc(Rect, Double, Double, Boolean) |
For internal use only. Draws a pie slice or an arc.
|
|
|
PieArc(Rect, Double, Double, Boolean, Boolean) |
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.
|
|
|
Save(Stream) |
Saves the Pdf document to a Stream.
|
|
|
Save(String) |
Saves the Pdf document to a file.
|
|
|
SetBrush |
For internal use only. Sets the current brush color.
|
|
|
SetFont |
For internal use only. Sets the current font.
|
|
|
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.
|
|
|
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.
|