XpsDevice Class

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

Namespace:  Aspose.TeX.Presentation.Xps
Assembly:  Aspose.TeX (in Aspose.TeX.dll) Version: 22.4.0.0 (22.4)
Syntax
public class XpsDevice : Device, IInteractiveDevice, 
	IFragmentRasterizer

The XpsDevice type exposes the following members.

Constructors
  NameDescription
Public methodXpsDevice
Creates new instance. The output file will be written to the output working directory taking the job name as a file name.
Public methodXpsDevice(Stream)
Creates new instance. The output file will be written to specified stream.
Protected methodXpsDevice(XpsDevice)
Clone constructor. Initializes this device with another device.
Properties
Methods
  NameDescription
Public methodAddBookmark
Adds the bookmark identified by the name.
Public methodAddHyperlink
Set the hyperlink with a URI as its target.
(Overrides DeviceAddHyperlink(RectangleF, Pen, String).)
Public methodCreate
Creates a copy of this device.
(Overrides DeviceCreate.)
Public methodDispose
Disposes this device instance. Finalizes this device instance graphics state, i.e. switches APS composing context to the ApsCanvas of the level higher then this device's graphics state ApsCanvas.
(Overrides DeviceDispose.)
Public methodDrawPath
Draws a path.
(Overrides DeviceDrawPath(GraphicsPath).)
Public methodDrawString
Draws a text string.
(Overrides DeviceDrawString(String, Single, Single, ListGlyphData).)
Public methodEndDocument
Finalizes the whole document.
(Overrides DeviceEndDocument.)
Public methodEndFragment
Ends a fragment to rasterize.
Public methodEndPage
Finalizes a page.
(Overrides DeviceEndPage.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFillPath
Fill a path.
(Overrides DeviceFillPath(GraphicsPath).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInit
Initializes device.
(Overrides DeviceInit.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRestoreGraphicsState
Rolls back to the graphics state previously saved.
(Inherited from Device.)
Protected methodSaveGraphicsState
Saves the current graphics state.
(Inherited from Device.)
Public methodSetClip
Sets the current clip path.
(Overrides DeviceSetClip(GraphicsPath).)
Public methodSetTransform
Sets the current coordinate space transformation.
(Overrides DeviceSetTransform(Matrix).)
Public methodShowImage
Shows a raster image.
(Overrides DeviceShowImage(PointF, SizeF, Byte).)
Public methodStartDocument
Starts the whole document.
(Overrides DeviceStartDocument.)
Public methodStartFragment
Starts a fragment to rasterize.
Public methodStartPage
Starts a new page.
(Overrides DeviceStartPage(Single, Single).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also