Namespace Aspose.TeX.Plugins

Namespace Aspose.TeX.Plugins

Classes

Tên lớpDescription
FigureRendererPluginHình Renderer plugin lớp. Ví dụ cho thấy làm thế nào để thực hiện một mảnh LaTeX trong 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); }
FigureRendererPluginOptionsCác tùy chọn cho Aspose.TeX.Plugins.FigureRendererPlugin.
FigureRendererPluginResultKết quả phổ biến của plugin Figure Renderer.
MathRendererPluginMathRenderer plugin lớp. Ví dụ cho thấy làm thế nào để thực hiện một công thức LaTeX trong 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); }
MathRendererPluginOptionsCác tùy chọn cho Aspose.TeX.Plugins.MathRendererPlugin.
MathRendererPluginResultKết quả phổ biến của plugin Math Renderer.
PngFigureRendererPluginOptionsCác tùy chọn của plugin Figure Renderer để thực hiện một con số LaTeX trong PNG.
PngMathRendererPluginOptionsCác tùy chọn của plugin Math Renderer để thực hiện một công thức toán học trong PNG.
ResultContainerPlugin thực hiện kết quả container.
StreamDataSourceNguồn dữ liệu dòng cho tải plugin và lưu các hoạt động.
StringDataSourceNguồn dữ liệu string cho các hoạt động tải plugin.
SvgFigureRendererPluginOptionsCác tùy chọn của plugin Figure Renderer để thực hiện một con số LaTeX trong SVG.
SvgMathRendererPluginOptionsCác tùy chọn của plugin Math Renderer để thực hiện một công thức toán học trong SVG.

Interfaces

Interface tênDescription
IDataSourceGiao diện nguồn dữ liệu chung.
IOperationResultTổng hoạt động kết quả giao diện.
IPluginGiao diện tổng thể plugin.
IPluginOptionsGiao diện các tùy chọn plugin.

Enums

Enum TênDescription
DataTypeDanh sách các loại dữ liệu có sẵn cho plugins I/O.
 Tiếng Việt