DiagramImageExportOptions
StockSharp.Xaml.Diagram.Export
Configures PNG diagram export through the production presenter tree.
Свойства
BackgroundColor
public Color? BackgroundColor { get; set; }
value = diagramImageExportOptions.BackgroundColor
diagramImageExportOptions.BackgroundColor = value
Gets or sets an optional custom background color.
Format
public DiagramImageFormats Format { get; set; }
value = diagramImageExportOptions.Format
diagramImageExportOptions.Format = value
Gets or sets the output format.
IncludeGrid
public bool IncludeGrid { get; set; }
value = diagramImageExportOptions.IncludeGrid
diagramImageExportOptions.IncludeGrid = value
Gets or sets whether the production grid layer is included.
Padding
public double Padding { get; set; }
value = diagramImageExportOptions.Padding
diagramImageExportOptions.Padding = value
Gets or sets the logical padding around the diagram.
Scale
public double Scale { get; set; }
value = diagramImageExportOptions.Scale
diagramImageExportOptions.Scale = value
Gets or sets the render scale.
Theme
public DiagramExportThemes Theme { get; set; }
value = diagramImageExportOptions.Theme
diagramImageExportOptions.Theme = value
Gets or sets the explicit export theme.
TransparentBackground
public bool TransparentBackground { get; set; }
value = diagramImageExportOptions.TransparentBackground
diagramImageExportOptions.TransparentBackground = value
Gets or sets whether the background is transparent.