XpsDevice class

XpsDevice class

Implements the interface for outputting text and graphic content to XPS document.

Inheritance: XpsDeviceDevice

The XpsDevice type exposes the following members:

Constructors

NameDescription
XpsDevice()Creates a new instance.
The output file will be written to the output working
directory taking the job name as a file name.
XpsDevice(stream)Initializes a new instance of the XpsDevice class

Properties

NameDescription
page_countGets the number of pages.

Methods

NameDescription
add_bookmark(name, position)Adds the bookmark identified by the name.
start_fragment()Starts a fragment to rasterize.
end_fragment()Ends a fragment to rasterize.

See Also