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


In This Topic
    C1PdfDocument Class Members
    In This Topic

    The following tables list the members exposed by C1PdfDocument.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the compression level to use when saving the document. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets the PDF/A conformance level.

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

    (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyOverridden. Gets or sets the index of the current page within the document.  
    Public PropertyGets the PdfDocumentInfo object that contains information about this document (author, etc). (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets a value indicating how fonts should be encoded when saving the document. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets the image quality to use when saving the document. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets a value indicating whether compression is used when saving the document. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets the default page orientation for the document.  
    Public PropertyGets or sets the maximum header level to create bookmarks for when rendering HTML text.  
    Public PropertyGets a rectangle that represents the surface of the current page (in points). (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets the collection of PdfPage objects that make up the document. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyOverridden. Gets or sets the default page size for the document (in points).  
    Public PropertyGets or sets the default page size for the document.  
    Public PropertyGets or sets the flag to convert EMF PLUS metafiles to EMF ONLY metafiles or no.  
    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.

    (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets the rotate angle for drawing simple objects for the document in degree (from -360 to 360).  
    Public PropertyGets or sets whether all images should be saved in the Jpeg format. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets the PdfSecurity object that manages security for the current document (passwords, etc). (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    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 C1PdfDocumentBase.FontType is not Embedded, this property is not used.

    (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets a value indicating whether to use a faster but less precise method of laying out text when generating output. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets a value indicating whether to use temporary disk files to minimize memory usage. The default is false. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets or sets a value indicating whether to use font shaping for text characters of the document. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public PropertyGets the PdfViewerPreferences object that contains information about how the current document should be displayed. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public MethodOverloaded. Adds a file attachment to the current page.  
    Public MethodOverloaded. Adds a bookmark to the current page.  
    Public MethodOverloaded. Adds an AcroField to the current page.  
    Public MethodOverloaded. Adds a hyperlink to the current page.  
    Public MethodOverloaded. Adds an annotation item to the current page.  
    Public MethodOverloaded. Adds a hyperlink target to the current page.  
    Public MethodRestores the document to its initial state. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public MethodStart clipping use a path defined by points and types.  
    Public MethodStop path clipping.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Overridden. Releases all resources used by the Control.  
    Public MethodDraws an arc defined by an ellipse specified by a rectangle structure and two radial lines.  
    Public MethodDraws a Bezier spline defined by four point structures.  
    Public MethodDraws a series of Bezier splines from an array of point structures.  
    Public MethodOverloaded. Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.  
    Public MethodDraws a string by glyphs.  
    Public MethodOverloaded. Draws the specified System.Drawing.Image object at the specified location, adjusting the image size as specified by the align and mode parameters.  
    Public MethodOverloaded. Draws a line connecting the two points specified by coordinate pairs.  
    Public MethodDraws a series of line segments that connect an array of point structures.  
    Public MethodDraw metafile.  
    Public MethodOverloaded. Draws a path defined by a System.Drawing.Drawing2D.GraphicsPath object.  
    Public MethodDraws a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.  
    Public MethodDraws a polygon defined by an array of point structures.  
    Public MethodOverloaded. Draws a rectangle specified by a coordinate pair, a width, and a height.  
    Public MethodOverloaded. Draws the specified text string in the specified rectangle with the specified System.Drawing.Brush and System.Drawing.Font objects using the formatting attributes of the specified System.Drawing.StringFormat object.  
    Public MethodOverloaded. Draws an HTML string in the specified rectangle with the specified System.Drawing.Brush and System.Drawing.Font objects.  
    Public MethodOverloaded. Draws an RTF string in the specified rectangle with the specified System.Drawing.Brush and System.Drawing.Font objects.  
    Public MethodOverloaded. Fills an arc defined by an ellipse specified by a rectangle structure and two radial lines.  
    Public MethodOverloaded. Fills the interior of an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.  
    Public MethodOverloaded. Fills a path defined by a System.Drawing.Drawing2D.GraphicsPath object.  
    Public MethodOverloaded. Fills a pie shape defined by an ellipse specified by a rectangle structure and two radial lines.  
    Public MethodOverloaded. Fills a polygon defined by an array of point structures using the specified fill mode.  
    Public MethodOverloaded. Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Measures the specified string when drawn with the specified System.Drawing.Font object and formatted with the specified System.Drawing.StringFormat object.  
    Public MethodOverloaded. Measures an HTML string when drawn with a given System.Drawing.Font object into a rectangle with the specified width.  
    Public MethodOverloaded. Measures an RTF string when drawn with a given System.Drawing.Font object into a rectangle with the specified width.  
    Public MethodStarts a new page. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public MethodRestores the clipping area to the state after the last call to SetClipRect.  
    Public MethodResets all dash patterns to default values. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public MethodOverloaded. Saves the PDF document to a file. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public MethodSets the clipping area.  
    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. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public MethodSets the PDF transform (write the matrix).  
    Public Method (Inherited from System.ComponentModel.Component)
    Public MethodWrites raw content into the Pdf stream for the current page. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Top
    Protected Methods
     NameDescription
    Protected MethodGets the brush color. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    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. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected MethodRaises the C1PdfDocumentBase.GeneratingDocument event. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Protected MethodRaises the C1PdfDocumentBase.SavingDocument event. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Protected MethodFor internal use only. Resets current font, pen, and brush state. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Protected MethodFor internal use only. Sets the current brush color. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Protected MethodWrites raw content into the Pdf stream for the current page. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventFires periodically while data is written into the PDF document. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Public EventFires while pages are written to the PDF stream after a call to the C1PdfDocumentBase.Save method. (Inherited from C1.C1Pdf.C1PdfDocumentBase)
    Top
    See Also