Aspose::TeX::Presentation::Xps::XpsDevice class
Contents
[
Hide
]XpsDevice class
Implements the interface for outputting text and graphic content to XPS document.
class XpsDevice : public Aspose::TeX::Presentation::Device,
public Aspose::TeX::Presentation::IInteractiveDevice,
public Aspose::TeX::Presentation::IFragmentRasterizer
Methods
Method | Description |
---|---|
AddBookmark(System::String, System::Drawing::PointF) override | Adds the bookmark identified by the name. |
AddHyperlink(System::Drawing::RectangleF, System::SharedPtr<System::Drawing::Pen>, System::String) override | Set the hyperlink with a URI as its target. |
Create() override | Creates a copy of this device. |
Dispose() override | Disposes this device instance. Finalizes this device instance graphics state, i.e. switches composing context to the level higher then this device’s graphics state. |
DrawPath(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) override | Draws a path. |
DrawString(System::String, float, float, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GlyphData>>>) override | Draws a text string. |
EndDocument() override | Finalizes the whole document. |
EndFragment() override | Ends a fragment to rasterize. |
EndPage() override | Finalizes a page. |
FillPath(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) override | Fill a path. |
get_DestinationName() override | Gets destination name: output file name or device description. |
get_Fill() override | Gets/sets the current fill. |
get_FillOpacity() override | Gets/sets the current fill opacity. |
get_IsReady() override | Shows if device is ready for output. |
get_PageCount() override | Gets the number of pages. |
get_Stroke() override | Gets/sets the current stroke. |
get_StrokeOpacity() override | Gets/sets the current stroke opacity. |
Initialize() override | Initializes the device. |
set_Fill(System::SharedPtr<System::Drawing::Brush>) override | Gets/sets the current fill. |
set_FillOpacity(float) override | Gets/sets the current fill opacity. |
set_Stroke(System::SharedPtr<System::Drawing::Pen>) override | Gets/sets the current stroke. |
set_StrokeOpacity(float) override | Gets/sets the current stroke opacity. |
SetClip(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) override | Sets the current clip path. |
SetTransform(System::SharedPtr<System::Drawing::Drawing2D::Matrix>) override | Sets the current coordinate space transformation. |
ShowImage(System::Drawing::PointF, System::Drawing::SizeF, System::ArrayPtr<uint8_t>) override | Shows a raster image. |
StartDocument() override | Starts the whole document. |
StartFragment() override | Starts a fragment to rasterize. |
StartPage(float, float) override | Starts a new page. |
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(System::SharedPtr<System::IO::Stream>) | Creates a new instance. The output file will be written to specified stream. |
See Also
- Class Device
- Class IInteractiveDevice
- Class IFragmentRasterizer
- Namespace Aspose::TeX::Presentation::Xps
- Library Aspose.TeX for C++