Aspose::TeX::Presentation::Pdf::PdfDevice class

PdfDevice class

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

class PdfDevice : public Aspose::TeX::Presentation::Device,
                  public Aspose::TeX::Presentation::IInteractiveDevice,
                  public Aspose::TeX::Presentation::IFragmentRasterizer

Methods

MethodDescription
AddBookmark(System::String, System::Drawing::PointF) overrideAdds the bookmark identified by the name.
AddHyperlink(System::Drawing::RectangleF, System::SharedPtr<System::Drawing::Pen>, System::String) overrideSet the hyperlink with a URI as its target.
Create() overrideCreates a copy of this device.
Dispose() overrideDisposes 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>) overrideDraws a path.
DrawString(System::String, float, float, System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<GlyphData>>>) overrideDraws a text string.
EndDocument() overrideFinalizes the whole document.
EndFragment() overrideEnds a fragment to rasterize.
EndPage() overrideFinalizes a page.
FillPath(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) overrideFill a path.
get_DestinationName() overrideGets destination name: output file name or device description.
get_Fill() overrideGets/sets the current fill.
get_FillOpacity() overrideGets/sets the current fill opacity.
get_IsReady() overrideShows if device is ready for output.
get_PageCount() overrideGets the number of pages.
get_Stroke() overrideGets/sets the current stroke.
get_StrokeOpacity() overrideGets/sets the current stroke opacity.
Initialize() overrideInitializes the device.
PdfDevice()Creates a new instance. The output file will be written to the output working directory taking the job name as a file name.
PdfDevice(System::SharedPtr<System::IO::Stream>)Creates a new instance. The output file will be written to specified stream.
set_Fill(System::SharedPtr<System::Drawing::Brush>) overrideGets/sets the current fill.
set_FillOpacity(float) overrideGets/sets the current fill opacity.
set_Stroke(System::SharedPtr<System::Drawing::Pen>) overrideGets/sets the current stroke.
set_StrokeOpacity(float) overrideGets/sets the current stroke opacity.
SetClip(System::SharedPtr<System::Drawing::Drawing2D::GraphicsPath>) overrideSets the current clip path.
SetTransform(System::SharedPtr<System::Drawing::Drawing2D::Matrix>) overrideSets the current coordinate space transformation.
ShowImage(System::Drawing::PointF, System::Drawing::SizeF, System::ArrayPtr<uint8_t>) overrideShows a raster image.
StartDocument() overrideStarts the whole document.
StartFragment() overrideStarts a fragment to rasterize.
StartPage(float, float) overrideStarts a new page.

See Also