Class XpsDevice

XpsDevice class

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

public class XpsDevice : Device

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)Creates a new instance. The output file will be written to specified stream.

Properties

NameDescription
override PageCount { get; }Gets the number of pages.

Methods

NameDescription
AddBookmark(string, PointF)Adds the bookmark identified by the name.
EndFragment()Ends a fragment to rasterize.
StartFragment()Starts a fragment to rasterize.

See Also