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.
Protected method CurveTo(Double, Single, Double, Double)
For internal use only. Draws a curve from the cursor to the specified position.
Protected method CurveTo(Double, Double, Double, Double, Double, Double)
For internal use only. Draws a curve from the cursor to the specified position.
Protected method Ellipse
For internal use only. Draws an ellipse.
Protected method EndPage
For internal use only. Closes page stream, clears page pointer.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method FillStroke(Boolean, Boolean, Boolean)
For internal use only. Strokes and fills the current path.
Protected method FillStroke(Boolean, Boolean, Boolean, FillRule)
For internal use only. Strokes and fills the current path.
Protected method 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.)
Protected method GetCurrentID
For internal use only. Gets the ID of the last object.
Protected method GetFontSize()()()()
For internal use only. Gets the current font size.
Protected method Static member GetFontSize(Font)
For internal use only. Gets the size of a given font.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected method GetNewID
For internal use only. Increments the ID for the next object.
Protected method GetStreamPosition
For internal use only. Gets the Position on the page stream.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method LineTo
For internal use only. Draws a line from the cursor to the specified position.
Protected method MeasureText(String)
For internal use only.
Protected method MeasureText(String, Font)
For internal use only.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected method MoveTo
For internal use only. Moves cursor to a specified position.
Public method NewPage
Starts a new page.
Protected method Static member Normalize
For internal use only.
Protected method OnGeneratingDocument
Raises the GeneratingDocument event.
Protected method OnSavingDocument
Raises the SavingDocument event.
Protected method PieArc(Rect, Double, Double, Boolean)
For internal use only. Draws a pie slice or an arc.
Protected method PieArc(Rect, Double, Double, Boolean, Boolean)
For internal use only. Draws a pie slice or an arc.
Protected method Polygon
For internal use only. Draws a polygon.
Protected method Rectangle
For internal use only. Draws a rectangle.
Protected method ResetResourceState
For internal use only. Resets current font, pen, and brush state.
Protected method RoundRect
For internal use only. Draws a rounded rectangle.
Public method Save(Stream)
Saves the Pdf document to a Stream.
Public method Save(String)
Saves the Pdf document to a file.
Protected method SetBrush
For internal use only. Sets the current brush color.
Protected method SetFont
For internal use only. Sets the current font.
Protected method SetPen
For internal use only. Sets the current pen.
Protected method StartOverlay
For internal use only. Reopens a page for additional output.
Protected method StartPage
For internal use only. Adds a page to the page collection, opens stream writer on the new page.
Protected method TextOut
For internal use only. Output text to current Pdf stream.
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
Returns a String that represents the current Object.
(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