Namespace Aspose.TeX.Plugins
Namespace Aspose.TeX.Plugins
Classes
Nome da classe | Description |
---|---|
FigureRendererPlugin | Classe do Plugin Renderer. // 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 | As opções para o Aspose.TeX.Plugins.FigureRendererPlugin. |
FigureRendererPluginResult | O resultado comum do plugin Figure Renderer. |
MathRendererPlugin | Classificação do Plugin. // 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 | As opções para o Aspose.TeX.Plugins.MathRendererPlugin. |
MathRendererPluginResult | O resultado comum do Plugin Math Renderer. |
PngFigureRendererPluginOptions | As opções do plugin Figure Renderer para render uma figura LaTeX em PNG. |
PngMathRendererPluginOptions | As opções do plugin Math Renderer para render uma fórmula matemática em PNG. |
ResultContainer | A execução do plugin resulta em um container. |
StreamDataSource | A fonte de dados de fluxo para carregar e salvar operações do plugin. |
StringDataSource | A fonte de dados de string para as operações de carregamento do plugin. |
SvgFigureRendererPluginOptions | As opções do plugin Figure Renderer para render uma figura LaTeX em SVG. |
SvgMathRendererPluginOptions | As opções do plugin Math Renderer para render uma fórmula matemática em SVG. |
Interfaces
Nome da interface | Description |
---|---|
IDataSource | Interface de fonte de dados geral. |
IOperationResult | A operação geral resulta interface. |
IPlugin | A interface do Plugin. |
IPluginOptions | A interface das opções do plugin. |
Enums
Enum Nome | Description |
---|---|
DataType | Lista os tipos de dados disponíveis para plugins I/O. |