Class PrintSettingsBase
Provides the information about print settings.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Shared.Printing
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class PrintSettingsBase : INotifyPropertyChanged
Constructors
PrintSettingsBase()
Initializes a new instance of
Declaration
public PrintSettingsBase()
Properties
Orientation
Gets or sets the PrintOrientation that indicates whether the pages are printed in portrait or landscape mode.
Declaration
public PrintOrientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
PrintOrientation | One of the PrintOrientation enumeration that specifies the orientation for page. The default value is |
PageFooterHeight
Gets or sets the height of the page footer for printing.
Declaration
public double PageFooterHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height of the page footer.And the default value of the PageFooterHeight is 0.0; |
PageFooterTemplate
Gets or sets System.Windows.DataTemplate that defines the visual representation of the page footer for printing.
Declaration
public DataTemplate PageFooterTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | The object that defines the visual representation of the page footer. The default is null. |
PageHeaderHeight
Gets or sets the height of the page header for printing.
Declaration
public double PageHeaderHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height of the page header.And the default value of the PageHeaderHeight is 0.0; |
PageHeaderTemplate
Gets or sets System.Windows.DataTemplate that defines the visual representation of the page header for printing.
Declaration
public DataTemplate PageHeaderTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate | The object that defines the visual representation of the page header. The default is null. |
PageHeight
Gets or sets the height of a page for printing.
Declaration
public double PageHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The height of a page for printing.And the default value of the PageHeight is 1122.52; |
PageMargin
Gets or sets the System.Windows.Thickness margin of page for printing.
Declaration
public Thickness PageMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Thickness | Provides the margin value for the page.The default value of the margin is 96. |
PageWidth
Gets or sets the width of a page for printing.
Declaration
public double PageWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The width of a page for printing.And the default value of the PageWidth is 793.70; |
PrintPreviewWindowStyle
Gets or sets the style applied to print preview chromeless window.
Declaration
public Style PrintPreviewWindowStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style | The style that is applied to PrintPreviewWindow.The default is null. |
Remarks
To define a System.Windows.Style for a row, specify a TargetType of ChromelessWindow.
Methods
OnPropertyChanged(String)
Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. The specific dependency property that changed is reported in the event data.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The Dependency Property Name. |
Events
PropertyChanged
Occurs when a property value changes in
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |