ComponentOne Document Library for UWP
C1PdfDocumentSource Class Members
Properties  Methods  Events

C1.UWP.Document Assembly > C1.Xaml.Document Namespace : C1PdfDocumentSource Class

The following tables list the members exposed by C1PdfDocumentSource.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the C1PdfDocumentSource class.  
Top
Public Properties
 NameDescription
Public PropertyGets or sets a value indicating whether calls to async methods of the current document source expect the async/await pattern to be used by the calling code. If this property is true, then the *Completed events (such as GenerateCompleted, GenerateCompleted and others) do not fire. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets the current busy state of the current C1DocumentSource. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyOverridden. Overridden. Gets or sets System.Net.NetworkCredential object defining credentials used in the PDF Document.  
Public PropertyGets the C1PrintOptions object defining default print options used by printing methods of C1DocumentSource. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets a value indicating whether the current content is dirty and does not correspond to the current values of Paginated etc. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyOverridden. Gets a C1Document object produced by the current document source.  
Public PropertyOverridden. Gets a name of the document.  
Public PropertyOverridden. Gets the C1DocumentSourceFeatures object specifying the set of features supported by this C1DocumentSource.  
Public PropertyGets the value indicating whether the current C1DocumentSource busy. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets a value indicating whether this C1DocumentSource is disposed and can not be longer used. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets the LogEntryList containing the list of events which occured during the last operation (generating, exporting etc). (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets the number of already generated pages. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets or sets a value indicating whether the content should be represented as set of fixed sized pages. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets a collection of parameters used to generate content. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public PropertyGets or sets an Windows.Storage.IStorageFile containing the PDF content. Assigning a new value to this property will reset Stream to null.  
Public PropertyGets or sets an Windows.Storage.Streams.IRandomAccessStream containing PDF content. Assigning a new value to this property will reset StorageFile to null.  
Public PropertyOverridden. Overridden. Gets an array of exporters supported by the current document source object.  
Public PropertyGets or sets a value indicating whether to use the system PDF API to render documents.

The default is true.

 
Top
Public Methods
 NameDescription
Public MethodOverloaded. Adds log entry to the Log list. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodCancels currently executed async action and waits until action will be actually cancelled. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodClear generated content and sets Dirty to true. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodReleases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodExecutes an action specified by the C1DocumentAction object. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodNon-blocking (asynchronous) version of the ExecuteAction method. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public Method (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodExports the document into a stream in an external format using the specified export filter. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodNon-blocking (asynchronous) version of the Export method. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public Method (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodGenerates the document. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodNon-blocking (asynchronous) version of the Generate method. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public Method (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodOverridden. For internal use. Returns a C1DocumentSourceContext object representing the current context of the C1DocumentSource.  
Public MethodOverridden. Creates the C1DocumentRange object on the base of two text positions specified by C1DocumentTextPosition objects.  
Public MethodOverridden. Creates a C1DocumentRange object that includes the specified page. This method can return null if the page contains no text.  
Public MethodOverridden. Creates a C1DocumentRange object that includes the whole document. This method can return null if the document contains no text.  
Public MethodCreates a C1DocumentRange object that defines a word containing a specified position in the document. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodReturns a value indicating whether the Generate method can be called at the moment. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodLoads the PDF document from the specified file.  
Public MethodLoads the PDF document from the specified stream.  
Public MethodOverridden. For internal use. Sets the context for the current C1DocumentSource.  
Public MethodOverloaded. Initiates the user interface for printing a document. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodValidates the current parameter values, refreshes their valid values' lists if the values are valid. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public MethodNon-blocking (asynchronous) version of the ValidateParameters method. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public Method (Inherited from C1.Xaml.Document.C1DocumentSource)
Top
Public Events
 NameDescription
Public EventOccurs when the BusyState property value changes. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs when the Dirty property value changes. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs when the ExportAsync method has completed. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs when the GenerateAsync method has completed. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs periodically during various document operations. Allows to provide progress indication and the ability to cancel some long operations such as document generation. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs when the PageCount property value changes. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs when the print task started with ShowPrintUIAsync method is finished. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs when a securiy exception occurs during a document source operation. This event allows to correct security-related properties like System.Net.NetworkCredential and retry a failed operation with new credentials. (Inherited from C1.Xaml.Document.C1DocumentSource)
Public EventOccurs when the ValidateParametersAsync method has completed. (Inherited from C1.Xaml.Document.C1DocumentSource)
Top
See Also

Reference

C1PdfDocumentSource Class
C1.Xaml.Document Namespace