Namespace Aspose.TeX.Plugins

Namespace Aspose.TeX.Plugins

Classes

Nome da classeDescription
FigureRendererPluginClasse do Plugin Renderer. O exemplo mostra como render um fragmento de LaTeX em 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); }
FigureRendererPluginOptionsAs opções para o Aspose.TeX.Plugins.FigureRendererPlugin.
FigureRendererPluginResultO resultado comum do plugin Figure Renderer.
MathRendererPluginClassificação do Plugin. O exemplo mostra como render uma fórmula LaTeX em 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); }
MathRendererPluginOptionsAs opções para o Aspose.TeX.Plugins.MathRendererPlugin.
MathRendererPluginResultO resultado comum do Plugin Math Renderer.
PngFigureRendererPluginOptionsAs opções do plugin Figure Renderer para render uma figura LaTeX em PNG.
PngMathRendererPluginOptionsAs opções do plugin Math Renderer para render uma fórmula matemática em PNG.
ResultContainerA execução do plugin resulta em um container.
StreamDataSourceA fonte de dados de fluxo para carregar e salvar operações do plugin.
StringDataSourceA fonte de dados de string para as operações de carregamento do plugin.
SvgFigureRendererPluginOptionsAs opções do plugin Figure Renderer para render uma figura LaTeX em SVG.
SvgMathRendererPluginOptionsAs opções do plugin Math Renderer para render uma fórmula matemática em SVG.

Interfaces

Nome da interfaceDescription
IDataSourceInterface de fonte de dados geral.
IOperationResultA operação geral resulta interface.
IPluginA interface do Plugin.
IPluginOptionsA interface das opções do plugin.

Enums

Enum NomeDescription
DataTypeLista os tipos de dados disponíveis para plugins I/O.
 Português