Namespace Aspose.TeX.Plugins

Namespace Aspose.TeX.Plugins

Classes

Nombre de claseDescription
FigureRendererPluginClase de Plugin Renderer. El ejemplo muestra cómo render un fragmento de LaTeX en 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); }
FigureRendererPluginOptionsLas opciones para el Aspose.TeX.Plugins.FigureRendererPlugin.
FigureRendererPluginResultEl resultado común del plugin de Figure Renderer.
MathRendererPluginClase de Plugin. El ejemplo muestra cómo rendir una fórmula LaTeX en 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); }
MathRendererPluginOptionsLas opciones para el Aspose.TeX.Plugins.MathRendererPlugin.
MathRendererPluginResultEl resultado común del plugin Math Renderer.
PngFigureRendererPluginOptionsLas opciones del plugin Figure Renderer para render una figura LaTeX en PNG.
PngMathRendererPluginOptionsLas opciones del plugin Math Renderer para rendir una fórmula matemática en PNG.
ResultContainerEl resultado de la ejecución del plugin es el contenedor.
StreamDataSourceLa fuente de datos de flujo para la carga del plugin y ahorrar las operaciones.
StringDataSourceLa fuente de datos de string para las operaciones de carga del plugin.
SvgFigureRendererPluginOptionsLas opciones del plugin Figure Renderer para render una figura LaTeX en SVG.
SvgMathRendererPluginOptionsLas opciones del plugin Math Renderer para rendir una fórmula matemática en SVG.

Interfaces

Nombre de InterfaceDescription
IDataSourceInterfaz de fuente de datos general.
IOperationResultLa operación general resultó de la interfaz.
IPluginInterfaz de Plugin General.
IPluginOptionsLa interfaz de opciones de plugin general.

Enums

Enum NombreDescription
DataTypeEnumera los tipos de datos disponibles para plugins I/O.
 Español