PDF for WinRT
C1PdfDocument Class Members
Properties  Methods  Events


The following tables list the members exposed by C1PdfDocument.

Public Constructors
 NameDescription
Public ConstructorC1PdfDocument ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyCompressionGets or sets the compression level to use when saving the document. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public PropertyCurrentPageOverridden. Gets or sets the index of the current page within the document.  
Public PropertyDocumentInfoGets the PdfDocumentInfo object that contains information about this document (author, etc). (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public PropertyLandscapeGets or sets the default page orientation for the document.  
Public PropertyNumberDecimalDigitsGets 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. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public PropertyPageRectangleGets a rectangle that represents the surface of the current page (in points). (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public PropertyPagesGets the collection of PdfPage objects that make up the document. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public PropertyPageSizeOverridden. Gets or sets the default page size for the document (in points).  
Public PropertyPaperKindGets or sets the default page size for the document.  
Public PropertySecurityGets the PdfSecurity object that manages security for this document (passwords, etc). (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public PropertyViewerPreferencesGets the PdfViewerPreferences object that contains information about how this document should be displayed. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Top
Public Methods
 NameDescription
Public MethodAddAttachmentOverloaded. Adds a file attachment to the current page.  
Public MethodAddBookmarkAdds a bookmark to the current page.  
Public MethodAddLinkAdds a hyperlink to the current page.  
Public MethodAddTargetOverloaded. Adds a hyperlink target to the current page.  
Public MethodClearRestores the document to its initial state. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public MethodDrawArcDraws an arc defined by an ellipse specified by a Windows.Foundation.Rect structure and two radial lines.  
Public MethodDrawBezierDraws a Bezier spline defined by four Windows.Foundation.Point structures.  
Public MethodDrawBeziersDraws a series of Bezier splines from an array of Windows.Foundation.Point structures.  
Public MethodDrawElementOverloaded. Draws the specified Windows.UI.Xaml.Media.Imaging.WriteableBitmap object at the specified location, adjusting the image size as specified by the align and stretch parameters.  
Public MethodDrawEllipseOverloaded. Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.  
Public MethodDrawImageOverloaded. Draws the specified Windows.UI.Xaml.Media.Imaging.WriteableBitmap object at the specified location, adjusting the image size as specified by the align and stretch parameters.  
Public MethodDrawLineOverloaded. Draws a line connecting the two points specified by coordinate pairs.  
Public MethodDrawLinesDraws a series of line segments that connect an array of Windows.Foundation.Point structures.  
Public MethodDrawPieDraws a pie shape defined by an ellipse specified by a Windows.Foundation.Rect structure and two radial lines.  
Public MethodDrawPolygonDraws a polygon defined by an array of Windows.Foundation.Point structures.  
Public MethodDrawRectangleOverloaded. Draws a rectangle specified by a coordinate pair, a width, and a height.  
Public MethodDrawStringOverloaded. Draws a string into the specified Windows.Foundation.Rect.  
Public MethodFillArcFills an arc defined by an ellipse specified by a Windows.Foundation.Rect structure and two radial lines.  
Public MethodFillEllipseOverloaded. Fills the interior of an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.  
Public MethodFillPieFills a pie shape defined by an ellipse specified by a Windows.Foundation.Rect structure and two radial lines.  
Public MethodFillPolygonOverloaded. Fills a polygon defined by an array of Windows.Foundation.Point structures.  
Public MethodFillRectangleOverloaded. Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.  
Public MethodMeasureStringOverloaded. Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object.  
Public MethodNewPageStarts a new page. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public MethodResetClipRectRestores the clipping area to the state before the last call to SetClipRect.  
Public MethodSaveSaves the Pdf document to a System.IO.Stream. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public MethodSaveAsyncOpens an existing zip file stored in a Windows.Storage.StorageFile. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public MethodSetClipRectSets the clipping area.  
Public MethodWriteWrites raw content into the Pdf stream for the current page. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Top
Protected Methods
 NameDescription
Protected MethodCurveToOverloaded. For internal use only. Draws a curve from the cursor to the specified position. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodEllipseFor internal use only. Draws an ellipse. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodEndPageFor internal use only. Closes page stream, clears page pointer. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodFillStrokeOverloaded. For internal use only. Strokes and fills the current path. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodGetFontSizeFor internal use only. Gets the current font size. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodLineToFor internal use only. Draws a line from the cursor to the specified position. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodMoveToFor internal use only. Moves cursor to a specified position. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodOnGeneratingDocumentRaises the C1PdfDocumentBase.GeneratingDocument event. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodOnSavingDocumentRaises the C1PdfDocumentBase.SavingDocument event. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodPieArcOverloaded. For internal use only. Draws a pie slice or an arc. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodPolygonFor internal use only. Draws a polygon. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodRectangleFor internal use only. Draws a rectangle. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodResetResourceStateFor internal use only. Resets current font, pen, and brush state. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodRoundRectFor internal use only. Draws a rounded rectangle. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodSetBrushFor internal use only. Sets the current brush color. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodSetPenFor internal use only. Sets the current pen. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodStartOverlayFor internal use only. Reopens a page for additional output. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodStartPageFor internal use only. Adds a page to the page collection, opens stream writer on the new page. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Protected MethodTextOutFor internal use only. Output text to current Pdf stream. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Top
Public Events
 NameDescription
Public EventDrawingElementOccurs when the C1PdfDocument is about to render a Windows.UI.Xaml.FrameworkElement.  
Public EventGeneratingDocumentFires periodically while data is written into the PDF document. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Public EventSavingDocumentFires while pages are written to the PDF stream after a call to the C1PdfDocumentBase.Save method. (Inherited from C1.Xaml.Pdf.C1PdfDocumentBase)
Top
See Also

Reference

C1PdfDocument Class
C1.Xaml.Pdf Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback