Back to Devexpress

SankeyPrintOptions.SizeMode Property

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeyprintoptions.md

latest2.5 KB
Original Source

SankeyPrintOptions.SizeMode Property

Specifies the size mode used to print the Sankey Diagram Control.

Namespace : DevExpress.Xpf.Charts.Sankey

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public PrintSizeMode SizeMode { get; set; }
vb
Public Property SizeMode As PrintSizeMode

Property Value

TypeDescription
PrintSizeMode

The size mode value.

|

Available values:

NameDescription
None

A chart is printed with its size identical to that shown on the printed page.

| | Stretch |

A chart is stretched or shrunk to fit the page on which it is printed.

| | NonProportionalZoom |

A chart is resized non-proportionally, so that it scales in the horizontal or the vertical directions independently.

| | ProportionalZoom |

A chart is resized proportionally (without clipping), so that it best fits the page on which it is printed

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SizeMode
SankeyDiagramControl

.PrintOptions .SizeMode

|

Remarks

The following example uses the SankeyPrintOptions.SizeMode property to stretch the Sankey Diagram Control to fit the page:

csharp
SankeyPrintOptions printOptions = new SankeyPrintOptions();
printOptions.SizeMode = PrintSizeMode.Stretch;
sankeyDiagramControl1.PrintOptions = printOptions;
sankeyDiagramControl1.Print();
vb
Dim printOptions As SankeyPrintOptions = New SankeyPrintOptions()
printOptions.SizeMode = PrintSizeMode.Stretch
sankeyDiagramControl1.PrintOptions = printOptions
sankeyDiagramControl1.Print()

See Also

SankeyPrintOptions Class

SankeyPrintOptions Members

DevExpress.Xpf.Charts.Sankey Namespace