PDF for UWP | ComponentOne
C1.Xaml.Pdf 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 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 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 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
    Public Methods
     NameDescription
    Public MethodRestores the document to its initial state.  
    Public MethodStarts a new page.  
    Public MethodResets all dash patterns to default values.  
    Public MethodSaves the Pdf document to a System.IO.Stream.  
    Public MethodOpens an existing zip file stored in a Windows.Storage.StorageFile.  
    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 MethodWrites raw content into the Pdf stream for the current page.  
    Top
    Protected Methods
     NameDescription
    Protected Method  
    Protected Methodstatic (Shared in Visual Basic)  
    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 Method  
    Top
    Public Events
     NameDescription
    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