DiagramExportOptions

StockSharp.Xaml.Diagram.Maui.Export

Image export options for diagrams.

Properties

BackgroundColor
public Color BackgroundColor { get; set; }
value = diagramExportOptions.BackgroundColor
diagramExportOptions.BackgroundColor = value

Background color (null for transparent).

Format
public DiagramImageFormat Format { get; set; }
value = diagramExportOptions.Format
diagramExportOptions.Format = value

Image format.

IncludeGrid
public bool IncludeGrid { get; set; }
value = diagramExportOptions.IncludeGrid
diagramExportOptions.IncludeGrid = value

Whether to include the grid.

JpegQuality
public int JpegQuality { get; set; }
value = diagramExportOptions.JpegQuality
diagramExportOptions.JpegQuality = value

JPEG quality (0-100), only used for JPEG format.

Padding
public float Padding { get; set; }
value = diagramExportOptions.Padding
diagramExportOptions.Padding = value

Padding around the diagram in pixels.

Scale
public float Scale { get; set; }
value = diagramExportOptions.Scale
diagramExportOptions.Scale = value

Scale factor (1.0 = 100%).