[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.GetXpsC1Doc

GetXpsC1Doc Method

GetXpsC1Doc()

Gets the XpsC1Doc object representing the current document. That object can be used to access the underlying XpsDocument, which in turn can provide the FixedDocumentSequence (via the call to GetFixedDocumentSequence()) that can be assigned to the Document property of a document viewer.

Please note that to avoid memory leaks, the XpsC1Doc object returned by this method should be disposed when you're finished using it and/or the XpsDocument it provides.

Declaration
public XpsC1Doc GetXpsC1Doc()
Returns
Type Description
XpsC1Doc

The XpsC1Doc object representing the current document.