Class ExportSettings
Represents the contents of the diagram can be exported as raster image files by using export function.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class ExportSettings : INotifyPropertyChanged
Constructors
ExportSettings()
Initializes a new instance of the ExportSettings class.
Declaration
public ExportSettings()
Properties
Clip
Gets or sets to decide the region on the diagram to export
Declaration
public Rect Clip { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Rect |
ColumnCount
Gets the count of pages for exporting based on PageWidth
Declaration
public int ColumnCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ExportBackground
Gets or sets the background of the Image
Declaration
public SolidColorBrush ExportBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.SolidColorBrush |
ExportBitmapEncoder
Gets or sets a value to specify the System.Windows.Media.Imaging.BitmapEncoder based on Image format
Declaration
public BitmapEncoder ExportBitmapEncoder { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Imaging.BitmapEncoder |
ExportMode
Gets or sets the modes for exporting.
Declaration
public ExportMode ExportMode { get; set; }
Property Value
Type | Description |
---|---|
ExportMode |
ExportStream
Gets or sets to specify the Stream of Exporting.
Declaration
public Stream ExportStream { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream |
ExportType
Gets or sets the type for exporting images.
Declaration
public ExportType ExportType { get; set; }
Property Value
Type | Description |
---|---|
ExportType |
FileName
Gets or sets the filename of the exporting image.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ImageShrunk
Gets or sets a stretch option for exporting the image.
Declaration
public ImageShrunk ImageShrunk { get; set; }
Property Value
Type | Description |
---|---|
ImageShrunk |
ImageSize
Gets or sets the System.Windows.Size for exporting the image.
Declaration
public Size ImageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Size |
ImageStretch
Gets or sets the System.Windows.Media.Stretch option for exporting the image.
Declaration
public Stretch ImageStretch { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Stretch |
IsSaveToXps
Gets or sets a value indicated whether the export the Digram in XPS format.
Declaration
public bool IsSaveToXps { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RowCount
Gets the count of pages for exporting based on PageHeight.
Declaration
public int RowCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
UseVisualBrush
Gets or sets a value indicates whether export the Digram in XPS format.
Declaration
public bool UseVisualBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |