ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocumentBase Class
Properties Methods Events


In This Topic
    C1PdfDocumentBase Class Members
    In This Topic

    The following tables list the members exposed by C1PdfDocumentBase.

    Public Properties
     NameDescription
    Public PropertyGets or sets the compression level to use when saving the document.  
    Public PropertyGets or sets the PDF/A conformance level.

    The default is none (the document does not conform to PDF/A).

     
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the index of the current page within the document.  
    Public PropertyGets the PdfDocumentInfo object that contains information about this document (author, etc).  
    Public PropertyGets or sets a value indicating how fonts should be encoded when saving the document.  
    Public PropertyGets or sets the image quality to use when saving the document.  
    Public PropertyGets a value indicating whether compression is used when saving the document.  
    Public PropertyGets a rectangle that represents the surface of the current page (in points).  
    Public PropertyGets the collection of PdfPage objects that make up the document.  
    Public PropertyGets or sets the default page size for the document (in points).  
    Public PropertyGets or sets the PDF Version of the generated document.

    By default the version is determined automatically based on which features are used in this document. Setting this property to a non-null string in the format "1.X" (where X is a digit from 0 to 9) overrides the automatic value with the specified one.

    Setting this property to null reverts to the default behavior.

     
    Public PropertyGets or sets whether all images should be saved in the Jpeg format.  
    Public PropertyGets the PdfSecurity object that manages security for the current document (passwords, etc).  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets a value indicating whether to embed fonts separately for each page of the document. The default is false, which produces smaller file sizes but in some rare cases may result in incorrect font substitutions.

    Note that if FontType is not Embedded, this property is not used.

     
    Public PropertyGets or sets a value indicating whether to use a faster but less precise method of laying out text when generating output.  
    Public PropertyGets or sets a value indicating whether to use temporary disk files to minimize memory usage. The default is false.  
    Public PropertyGets or sets a value indicating whether to use font shaping for text characters of the document.  
    Public PropertyGets the PdfViewerPreferences object that contains information about how the current document should be displayed.  
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public MethodRestores the document to its initial state.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded.  (Inherited from System.ComponentModel.Component)
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodStarts a new page.  
    Public MethodResets all dash patterns to default values.  
    Public MethodOverloaded. Saves the PDF document to a file.  
    Public MethodSets the dash pattern for a specific dash style. Values in pattern correspond to dashes and spaces, starting with the first dash. The actual length of each dash and space in the line is the product of the specified value and the width of the pen used to draw the line.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts points to pixels.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Converts pixels to points.  
    Public Method (Inherited from System.ComponentModel.Component)
    Public MethodWrites raw content into the Pdf stream for the current page.  
    Top
    Protected Methods
     NameDescription
    Protected MethodGets the brush color.  
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected MethodDetermines whether the brush color alpha component is zero or is uninitialized.  
    Protected Methodstatic (Shared in Visual Basic)Gets a value indicating whether System.Drawing.Drawing2D.Matrix is the identity matrix.  
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected MethodRaises the GeneratingDocument event.  
    Protected MethodRaises the SavingDocument event.  
    Protected MethodFor internal use only. Resets current font, pen, and brush state.  
    Protected MethodFor internal use only. Sets the current brush color.  
    Protected MethodWrites raw content into the Pdf stream for the current page.  
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventFires periodically while data is written into the PDF document.  
    Public EventFires while pages are written to the PDF stream after a call to the Save(Stream) method.  
    Top
    See Also