Namespace Aspose.TeX.Plugins

Namespace Aspose.TeX.Plugins

Classes

クラス名Description
FigureRendererPlugin画像レンダープラグインクラス 例では、PNG で LaTeX フレームを作成する方法を示しています。 // 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); }
FigureRendererPluginOptionsAspose.TeX.Plugins.FigureRendererPlugin のオプション
FigureRendererPluginResult画像レンダープラグインの一般的な結果です。
MathRendererPluginMathRenderer プラグインクラス 例では、PNG で LaTeX 公式を表示する方法を示しています。 // 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); }
MathRendererPluginOptionsAspose.TeX.Plugins.MathRendererPlugin のオプション
MathRendererPluginResultMath Renderer プラグインの一般的な結果です。
PngFigureRendererPluginOptionsFigure Renderer プラグインのオプションは、PNG で LaTeX 数字を表示します。
PngMathRendererPluginOptionsMath Renderer プラグインのオプションは、PNG で数学の公式を作成します。
ResultContainerプラグインの実行結果コンテナ。
StreamDataSourceプラグインのロードと保存作業のためのストリームデータソース。
StringDataSourceプラグインのロード作業のためのストレッチデータソース。
SvgFigureRendererPluginOptionsFigure Renderer プラグインのオプションは、SVG で LaTeX 数字を表示します。
SvgMathRendererPluginOptionsMath Renderer プラグインのオプションは、SVG で数学の公式を提供します。

Interfaces

インターフェイス名Description
IDataSource一般データソースインターフェイス
IOperationResult一般的な操作の結果インターフェイス。
IPlugin一般プラグインインターフェイス
IPluginOptions一般プラグインオプションインターフェイス

Enums

Enum 名称Description
DataTypeI/O プラグインのデータタイプをリストします。
 日本語