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
AutoScrollBorder
Gets or sets the maximum distance to be left between the object and the scroll bar to trigger Auto Scrolling.
Declaration
[Obsolete("AutoScrollBorder Property is deprecated, please use ScrollSettings instead of PageSettings")]
Thickness AutoScrollBorder { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness |
Info
Gets or sets the Info of the pagesettings.
Declaration
IPageInfo Info { get; set; }
Property Value
Type | Description |
---|---|
IPageInfo |
MaximumPrintScale
Gets or sets the maximum print scale of a diagram.
Declaration
double MaximumPrintScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MaximumScrollableArea
Defines the maximum scrollable area of Diagram.
Declaration
[Obsolete("MaximumScrollableArea Property is deprecated, please use ScrollSettings instead of PageSettings")]
Point? MaximumScrollableArea { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.Point> |
MinimumPrintScale
Gets or sets the minimum print scale of a diagram.
Declaration
double MinimumPrintScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
MinimumScrollableArea
Defines the minimum scrollable area of Diagram.
Declaration
[Obsolete("MinimumScrollableArea Property is deprecated, please use ScrollSettings instead of PageSettings")]
Point? MinimumScrollableArea { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.Point> |
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 | Description |
---|---|
System.Boolean |
OffPageMaxMargin
Gets or sets the offpage maximum margin of the pagesettings.
Declaration
Thickness? OffPageMaxMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.Thickness> |
OffPageMinMargin
Gets or sets the offpage minimum margin of the pagesettings.
Declaration
Thickness? OffPageMinMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.Thickness> |
PageBackground
Gets or sets the background color of diagram pages.
Declaration
Brush PageBackground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush |
PageBorderBrush
Gets or sets the page border color.
Declaration
Brush PageBorderBrush { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush |
PageBorderThickness
Gets or sets the border thickness of diagram pages.
Declaration
Thickness? PageBorderThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Windows.Thickness> |
PageHeight
Gets or sets the height of a diagram Page.
Declaration
double PageHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PageOrientation
Gets or sets the value that represents the portrait or landscape.
Declaration
PageOrientation PageOrientation { get; set; }
Property Value
Type | Description |
---|---|
PageOrientation |
PageWidth
Gets or sets the width of a diagram page.
Declaration
double PageWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PrintMargin
Gets or sets the printmargin of the pagesettings.
Declaration
Thickness PrintMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness |
PrintScale
Gets or sets the print scale of a diagram.
Declaration
double PrintScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
ScrollableArea
Defines the scrollable area of Diagram. Applicable, if the scroll limit is “limited”.
Declaration
[Obsolete("ScrollableArea Property is deprecated, please use ScrollSettings instead of PageSettings")]
Rect ScrollableArea { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Rect |
ScrollLimit
Defines the scrollable region of Diagram.
Declaration
[Obsolete("ScrollLimit Property is deprecated, please use ScrollSettings instead of PageSettings")]
ScrollLimit ScrollLimit { get; set; }
Property Value
Type | Description |
---|---|
ScrollLimit |
ShowPageBreaks
Gets or sets a value indicates whether the page break is enable.
Declaration
bool ShowPageBreaks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Unit
Gets or sets the Unit of the pagesettings.
Declaration
MeasurementUnit Unit { get; set; }
Property Value
Type | Description |
---|---|
MeasurementUnit |