Namespace Aspose.TeX.Plugins

Namespace Aspose.TeX.Plugins

Classes

Nom de classeDescription
FigureRendererPluginC’est le plugin de la classe Renderer. L’exemple montre comment rendre un fragment 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); }
FigureRendererPluginOptionsLe opzioni per Aspose.TeX.Plugins.FigureRendererPlugin.
FigureRendererPluginResultLe résultat commun du plugin Figure Renderer.
MathRendererPluginMathRenderer Plugin classe. L’exemple montre comment rendre une formule 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); }
MathRendererPluginOptionsLe opzioni per Aspose.TeX.Plugins.MathRendererPlugin.
MathRendererPluginResultLe résultat commun du plugin Math Renderer.
PngFigureRendererPluginOptionsLes options du plugin Figure Renderer pour rendre une figure LaTeX en PNG.
PngMathRendererPluginOptionsLes options du plugin Math Renderer pour rendre une formule mathématique en PNG.
ResultContainerL’esecuzione del plugin è il contenitore.
StreamDataSourceLa source de données de streaming pour le chargement et le sauvetage des opérations du plugin.
StringDataSourceLa source de données de string pour les opérations de chargement du plugin.
SvgFigureRendererPluginOptionsLes options du plugin Figure Renderer pour rendre une figure LaTeX dans SVG.
SvgMathRendererPluginOptionsLes options du plugin Math Renderer pour rendre une formule mathématique dans SVG.

Interfaces

Nom de l’interfaceDescription
IDataSourceInterfaccia di fonte dati generale.
IOperationResultL’interfaccia di funzionamento generale si traduce in interfaccia.
IPluginL’interfaccia del plugin.
IPluginOptionsL’interfaccia delle opzioni di plugin.

Enums

Un nomDescription
DataTypeElenco dei tipi di dati disponibili per i plugin I/O.
 Français