Class ExportSettings
Represents the contents of the diagram can be exported as raster image files by using export function.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class ExportSettings : Object, 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 |
---|
System.Windows.Rect |
ColumnCount
Gets the count of pages for exporting based on PageWidth
Declaration
public int ColumnCount { get; }
Property Value
Type |
---|
System.Int32 |
DpiX
Specifies the horizontal resolution in which the diagram is exported. The default value is 96.
Declaration
public double DpiX { get; set; }
Property Value
Type |
---|
System.Double |
DpiY
Specifies the vertical resolution in which the diagram is exported. The default value is 96.
Declaration
public double DpiY { get; set; }
Property Value
Type |
---|
System.Double |
ExportBackground
Gets or sets the background of the Image
Declaration
public SolidColorBrush ExportBackground { get; set; }
Property Value
Type |
---|
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 |
---|
System.Windows.Media.Imaging.BitmapEncoder |
ExportMode
Gets or sets the modes for exporting.
Declaration
public ExportMode ExportMode { get; set; }
Property Value
Type |
---|
ExportMode |
ExportStream
Gets or sets to specify the Stream of Exporting.
Declaration
public Stream ExportStream { get; set; }
Property Value
Type |
---|
System.IO.Stream |
ExportType
Gets or sets the type for exporting images.
Declaration
public ExportType ExportType { get; set; }
Property Value
Type |
---|
ExportType |
FileName
Gets or sets the filename of the exporting image.
Declaration
public string FileName { get; set; }
Property Value
Type |
---|
System.String |
ImageShrunk
Gets or sets a stretch option for exporting the image.
Declaration
public ImageShrunk ImageShrunk { get; set; }
Property Value
Type |
---|
ImageShrunk |
ImageSize
Gets or sets the System.Windows.Size for exporting the image.
Declaration
public Size ImageSize { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.Boolean |
RowCount
Gets the count of pages for exporting based on PageHeight.
Declaration
public int RowCount { get; }
Property Value
Type |
---|
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 |
---|
System.Boolean |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |