Class PrintingEventArgs
Provides data for PrintingEvent of the diagram.
Inheritance
System.Object
PrintingEventArgs
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class PrintingEventArgs : Object
Properties
Cancel
Gets or sets a value that indicates whether a printing is a Cancel.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
CanUseCustomPageMediaSize
Gets or sets a value indicating whether use custom page size for the paper while printing.
Declaration
public bool CanUseCustomPageMediaSize { get; set; }
Property Value
Type |
---|
System.Boolean |
CurrentPrintPage
Gets the CurrentPage of the document.
Declaration
public int CurrentPrintPage { get; }
Property Value
Type |
---|
System.Int32 |
PrintDialog
Gets the PrintDialog of the document.
Declaration
public PrintDialog PrintDialog { get; }
Property Value
Type |
---|
System.Windows.Controls.PrintDialog |
PrintState
Gets the PrintStatus of the printing.
Declaration
public PrintStatus PrintState { get; }
Property Value
Type |
---|
PrintStatus |
SelectedPageMediaSizeName
Gets the name of the selected page size for paper.
Declaration
public string SelectedPageMediaSizeName { get; }
Property Value
Type |
---|
System.String |
TotalPrintCount
Gets the PageCount of the document.
Declaration
public int TotalPrintCount { get; }
Property Value
Type |
---|
System.Int32 |