[]
Provides XPS representation of a C1PrintDocument. The generated XPS can be stored either in a disk file or in memory, depending on the constructor used to create the instance of this type.
public class XpsC1Doc : IDisposable
| Name | Description |
|---|---|
| XpsC1Doc(C1PrintDocument) | Creates an instance of XpsC1Doc that holds the XPS document in memory. |
| XpsC1Doc(C1PrintDocument, string) | Creates an instance of XpsC1Doc that creates the XPS document in a disk file. |
| Name | Description |
|---|---|
| Document | Gets the source C1PrintDocument. |
| LongOperationEventHandler | Gets or sets the delegate that will be called periodically while the document generates. |
| LongOperationEventSender | Gets or sets the sender argument for the long operation event. If not set, the current object is used. |
| XpsDocument | Gets the XpsDocument representing the source document. Note that the document is committed when this property is first accessed, and cannot be changed afterwards. |
| XpsDpi | Gets the resolution used for pages' content. In the current version, this is determined by the CreationDpi of the source C1PrintDocument. |
| Name | Description |
|---|---|
| Commit() | Commits the document. |
| Dispose() | Clean up any resources being used. |
| Dispose(bool) | Clean up any resources being used. |
| RuToXpsPixel(double) | Converts an absolute value in document's ResolvedUnitType units to a value in XPS pixels. |
| UnitToXpsPixel(Unit) | Converts a Unit value to XPS pixels using the page resolution (XpsDpi). |