PDF for WinRT
C1PdfDocumentBase Class Members
Properties  Methods  Events


The following tables list the members exposed by C1PdfDocumentBase.

Public Properties
 NameDescription
Public PropertyCompressionGets or sets the compression level to use when saving the document.  
Public PropertyCurrentPageGets or sets the index of the current page within the document.  
Public PropertyDocumentInfoGets the PdfDocumentInfo object that contains information about this document (author, etc).  
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.  
Public PropertyPageRectangleGets a rectangle that represents the surface of the current page (in points).  
Public PropertyPagesGets the collection of PdfPage objects that make up the document.  
Public PropertyPageSizeGets or sets the default page size for the document (in points).  
Public PropertySecurityGets the PdfSecurity object that manages security for this document (passwords, etc).  
Public PropertyViewerPreferencesGets the PdfViewerPreferences object that contains information about how this document should be displayed.  
Top
Public Methods
 NameDescription
Public MethodClearRestores the document to its initial state.  
Public MethodNewPageStarts a new page.  
Public MethodSaveSaves the Pdf document to a System.IO.Stream.  
Public MethodSaveAsyncOpens an existing zip file stored in a Windows.Storage.StorageFile.  
Public Methodstatic (Shared in Visual Basic)ToPixelsOverloaded. Converts points to pixels.  
Public Methodstatic (Shared in Visual Basic)ToPointsOverloaded. Converts pixels to points.  
Public MethodWriteWrites raw content into the Pdf stream for the current page.  
Top
Protected Methods
 NameDescription
Protected MethodCurveToOverloaded. For internal use only. Draws a curve from the cursor to the specified position.  
Protected MethodEllipseFor internal use only. Draws an ellipse.  
Protected MethodEndPageFor internal use only. Closes page stream, clears page pointer.  
Protected MethodFillStrokeOverloaded. For internal use only. Strokes and fills the current path.  
Protected MethodGetFontSizeOverloaded. For internal use only. Gets the current font size.  
Protected MethodLineToFor internal use only. Draws a line from the cursor to the specified position.  
Protected MethodMoveToFor internal use only. Moves cursor to a specified position.  
Protected MethodOnGeneratingDocumentRaises the GeneratingDocument event.  
Protected MethodOnSavingDocumentRaises the SavingDocument event.  
Protected MethodPieArcOverloaded. For internal use only. Draws a pie slice or an arc.  
Protected MethodPolygonFor internal use only. Draws a polygon.  
Protected MethodRectangleFor internal use only. Draws a rectangle.  
Protected MethodResetResourceStateFor internal use only. Resets current font, pen, and brush state.  
Protected MethodRoundRectFor internal use only. Draws a rounded rectangle.  
Protected MethodSetBrushFor internal use only. Sets the current brush color.  
Protected MethodSetPenFor internal use only. Sets the current pen.  
Protected MethodStartOverlayFor internal use only. Reopens a page for additional output.  
Protected MethodStartPageFor internal use only. Adds a page to the page collection, opens stream writer on the new page.  
Protected MethodTextOutFor internal use only. Output text to current Pdf stream.  
Top
Public Events
 NameDescription
Public EventGeneratingDocumentFires periodically while data is written into the PDF document.  
Public EventSavingDocumentFires while pages are written to the PDF stream after a call to the Save method.  
Top
See Also

Reference

C1PdfDocumentBase Class
C1.Xaml.Pdf Namespace

 

 


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

Product Support Forum  |  Documentation Feedback