Aspose::TeX::Presentation::Device class

Device class

Implements the interface for outputting text and graphic content to abstract device. Rendering is performed page by page.

class Device : public virtual System::Object

Methods

MethodDescription
virtual AddHyperlink(System::Drawing::RectangleF, System::SharedPtr<System::Drawing::Pen>, System::String)Sets the hyperlink with a URI as its target.
virtual Create()Creates a copy of this device.
Device()Creates a new instance.
virtual Dispose()Disposes the device.
virtual DrawPath(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>)Draws a path.
virtual DrawString(System::String, float, float, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GlyphData>>>)Draws a text string.
virtual EndDocument()Finalizes the whole document.
virtual EndPage()Finalizes a page.
virtual FillPath(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>)Fills a path.
virtual get_DestinationName()Gets destination name: output file name or device description.
virtual get_Fill()Gets/sets the current fill.
virtual get_FillOpacity()Gets/sets the current fill opacity.
virtual get_IsReady()Shows if device is ready for output.
virtual get_PageCount()Gets the number of pages.
virtual get_Stroke()Gets/sets the current stroke.
virtual get_StrokeOpacity()Gets/sets the current stroke opacity.
virtual Initialize()Initializes the device.
virtual set_Fill(System::SharedPtr<System::Drawing::Brush>)Gets/sets the current fill.
virtual set_FillOpacity(float)Gets/sets the current fill opacity.
virtual set_Stroke(System::SharedPtr<System::Drawing::Pen>)Gets/sets the current stroke.
virtual set_StrokeOpacity(float)Gets/sets the current stroke opacity.
virtual SetClip(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>)Sets the current clip path.
virtual SetTransform(System::SharedPtr<System::Drawing::Drawing2D::Matrix>)Sets the current coordinate space transformation.
virtual ShowImage(System::Drawing::PointF, System::Drawing::SizeF, System::ArrayPtr<uint8_t>)Shows a raster image.
virtual StartDocument()Starts the whole document.
virtual StartPage(float, float)Starts a new page.

See Also