Interface IPageSettings
Represents to customize the appearance, width, and height of the Diagram page.
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public interface IPageSettings : INotifyPropertyChanged
Properties
Info
Gets or sets the Info of the pagesettings.
Declaration
IPageInfo Info { get; set; }
Property Value
Type |
---|
IPageInfo |
MaximumPrintScale
Gets or sets the maximum print scale of a diagram.
Declaration
double MaximumPrintScale { get; set; }
Property Value
Type |
---|
System.Double |
MinimumPrintScale
Gets or sets the minimum print scale of a diagram.
Declaration
double MinimumPrintScale { get; set; }
Property Value
Type |
---|
System.Double |
MultiplePage
Gets or sets a value indicates whether the multiple page is enable. Its can be created to fit all Nodes and Connectors.
Declaration
bool MultiplePage { get; set; }
Property Value
Type |
---|
System.Boolean |
OffPageMaxMargin
Gets or sets the offpage maximum margin of the pagesettings.
Declaration
Nullable<Thickness> OffPageMaxMargin { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Thickness> |
OffPageMinMargin
Gets or sets the offpage minimum margin of the pagesettings.
Declaration
Nullable<Thickness> OffPageMinMargin { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Thickness> |
PageBackground
Gets or sets the background color of diagram pages.
Declaration
Brush PageBackground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
PageBorderBrush
Gets or sets the page border color.
Declaration
Brush PageBorderBrush { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
PageBorderThickness
Gets or sets the border thickness of diagram pages.
Declaration
Nullable<Thickness> PageBorderThickness { get; set; }
Property Value
Type |
---|
System.Nullable<System.Windows.Thickness> |
PageHeight
Gets or sets the height of a diagram Page. If the PageHeight value is less than the sum of the PrintMargin.Top and PrintMargin.Bottom, only the PageHeight will be considered for printing.
Declaration
double PageHeight { get; set; }
Property Value
Type |
---|
System.Double |
PageOrientation
Gets or sets the value that represents the portrait or landscape.
Declaration
PageOrientation PageOrientation { get; set; }
Property Value
Type |
---|
PageOrientation |
PageWidth
Gets or sets the width of a diagram page. If the PageWidth value is less than the sum of the PrintMargin.Left and PrintMargin.Right, only the PageWidth will be considered for printing.
Declaration
double PageWidth { get; set; }
Property Value
Type |
---|
System.Double |
PrintMargin
Gets or sets the printmargin of the pagesettings. /// If the PageWidth is less than the sum of the PrintMargin.Left and PrintMargin.Right, and the PageHeight is less than the sum of the PrintMargin.Top and PrintMargin.Bottom, only the PageWidth and PageHeight will be considered for printing.
Declaration
Thickness PrintMargin { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
PrintScale
Gets or sets the print scale of a diagram.
Declaration
double PrintScale { get; set; }
Property Value
Type |
---|
System.Double |
ShowPageBreaks
Gets or sets a value indicates whether the page break is enable.
Declaration
bool ShowPageBreaks { get; set; }
Property Value
Type |
---|
System.Boolean |
Unit
Gets or sets the Unit of the pagesettings.
Declaration
MeasurementUnit Unit { get; set; }
Property Value
Type |
---|
MeasurementUnit |