Namespace Aspose.TeX.Plugins

Namespace Aspose.TeX.Plugins

Classes

Class NameDescription
FigureRendererPluginThe Figure Renderer plugin class. The example shows how to render a LaTeX fragment in PNG. // Create the Figure Renderer. FigureRendererPlugin renderer = new FigureRendererPlugin(); // Create the PngFigureRendererPluginOptions instance and set up options. PngFigureRendererPluginOptions options = new PngFigureRendererPluginOptions() { BackgroundColor = Color.Yellow, Resolution = 150, Margin = 10, Preamble = "LaTeX preamble" }; // Add an input LaTeX fragment. options.AddInputDataSource(new StringDataSource("LaTeX fragment")); // Create a stream to write the image to. using (Stream stream = File.Open("output path", FileMode.Create)) { // Add an output stream. options.AddOutputDataTarget(new StreamDataSource(stream)); // Run the process. ResultContainer result = renderer.Process(options); }
FigureRendererPluginOptionsThe options for the Aspose.TeX.Plugins.FigureRendererPlugin.
FigureRendererPluginResultThe Figure Renderer plugin’s common result.
MathRendererPluginMathRenderer plugin class. The example shows how to render a LaTeX formula in PNG. // Create MathRenderer. MathRendererPlugin renderer = new MathRendererPlugin(); // Create the PngMathRendererPluginOptions instance and set up options. PngMathRendererPluginOptions options = new PngMathRendererPluginOptions() { BackgroundColor = Color.Yellow, TextColor = Color.Blue, Resolution = 150, Margin = 10, Preamble = "LaTeX preamble" }; // Add a source formula. options.AddInputDataSource(new StringDataSource("LaTeX formula")); // Create a stream to write the image to. using (Stream stream = File.Open("output path", FileMode.Create)) { // Add an output stream. options.AddOutputDataTarget(new StreamDataSource(stream)); // Run the process. ResultContainer result = renderer.Process(options); }
MathRendererPluginOptionsThe options for the Aspose.TeX.Plugins.MathRendererPlugin.
MathRendererPluginResultThe Math Renderer plugin’s common result.
PngFigureRendererPluginOptionsThe Figure Renderer plugin’s options to render a LaTeX figure in PNG.
PngMathRendererPluginOptionsThe Math Renderer plugin’s options to render a math formula in PNG.
ResultContainerThe plugin execution result container.
StreamDataSourceThe stream data source for plugin’s load and save operations.
StringDataSourceThe string data source for plugin’s load operations.
SvgFigureRendererPluginOptionsThe Figure Renderer plugin’s options to render a LaTeX figure in SVG.
SvgMathRendererPluginOptionsThe Math Renderer plugin’s options to render a math formula in SVG.

Interfaces

Interface NameDescription
IDataSourceThe general data source interface.
IOperationResultThe general operation result interface.
IPluginThe general plugin interface.
IPluginOptionsThe general plugin options interface.

Enums

Enum NameDescription
DataTypeEnumerates available data types for plugins I/O.
 English