ComponentOne PDF for WPF and Silverlight
C1PdfDocument Class Members
Properties  Methods  Events

C1.Silverlight.Pdf.5 Assembly > C1.Silverlight.Pdf Namespace : C1PdfDocument Class

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.Silverlight.Pdf.C1PdfDocumentBase)
Public PropertyGets or sets the the PDF/A conformance level, by default without use PDF/A conformance. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
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.Silverlight.Pdf.C1PdfDocumentBase)
Public PropertyGets or sets a value indicating how fonts should be encoded when saving the document. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Public PropertyGets or sets the image quality to use when saving the document. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Public PropertyGets or sets the default page orientation for the document.  
Public PropertyGets a rectangle that represents the surface of the current page (in points). (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Public PropertyGets the collection of PdfPage objects that make up the document. (Inherited from C1.Silverlight.Pdf.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 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.Silverlight.Pdf.C1PdfDocumentBase)
Public PropertyGets the PdfSecurity object that manages security for the current document (passwords, etc). (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
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.Silverlight.Pdf.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.Silverlight.Pdf.C1PdfDocumentBase)
Public PropertyGets the PdfViewerPreferences object that contains information about how the current document should be displayed. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Top
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.Silverlight.Pdf.C1PdfDocumentBase)
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 the specified System.Windows.Media.Imaging.WriteableBitmap object at the specified location, adjusting the image size as specified by the align and stretch parameters.  
Public MethodOverloaded. Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.  
Public MethodOverloaded. Draws the specified System.Windows.Media.Imaging.WriteableBitmap object at the specified location, adjusting the image size as specified by the align and stretch 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 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.Windows.Media.Brush and Font objects using the formatting attributes of the specified StringFormat object.  
Public MethodFills 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 MethodFills 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.  
Public MethodOverloaded. Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.  
Public MethodOverloaded. Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.  
Public MethodStarts a new page. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Public MethodRestores the clipping area to the state before the last call to SetClipRect.  
Public MethodOverloaded. Saves the Pdf document to a file. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Public MethodSets the clipping area.  
Public MethodWrites raw content into the Pdf stream for the current page. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Top
Public Events
 NameDescription
Public EventOccurs when the C1PdfDocument is about to render a System.Windows.FrameworkElement.  
Public EventFires periodically while data is written into the PDF document. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Public EventFires while pages are written to the PDF stream after a call to the C1PdfDocumentBase.Save method. (Inherited from C1.Silverlight.Pdf.C1PdfDocumentBase)
Top
See Also

Reference

C1PdfDocument Class
C1.Silverlight.Pdf Namespace