Namespace Aspose.TeX.Plugins
Namespace Aspose.TeX.Plugins
Classes
Class Name | Description |
---|---|
FigureRendererPlugin | The Figure Renderer plugin class. // 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); } |
FigureRendererPluginOptions | The options for the Aspose.TeX.Plugins.FigureRendererPlugin. |
FigureRendererPluginResult | The Figure Renderer plugin’s common result. |
MathRendererPlugin | MathRenderer plugin class. // 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); } |
MathRendererPluginOptions | The options for the Aspose.TeX.Plugins.MathRendererPlugin. |
MathRendererPluginResult | The Math Renderer plugin’s common result. |
PngFigureRendererPluginOptions | The Figure Renderer plugin’s options to render a LaTeX figure in PNG. |
PngMathRendererPluginOptions | The Math Renderer plugin’s options to render a math formula in PNG. |
ResultContainer | The plugin execution result container. |
StreamDataSource | The stream data source for plugin’s load and save operations. |
StringDataSource | The string data source for plugin’s load operations. |
SvgFigureRendererPluginOptions | The Figure Renderer plugin’s options to render a LaTeX figure in SVG. |
SvgMathRendererPluginOptions | The Math Renderer plugin’s options to render a math formula in SVG. |
Interfaces
Interface Name | Description |
---|---|
IDataSource | The general data source interface. |
IOperationResult | The general operation result interface. |
IPlugin | The general plugin interface. |
IPluginOptions | The general plugin options interface. |
Enums
Enum Name | Description |
---|---|
DataType | Enumerates available data types for plugins I/O. |