Show / Hide Table of Contents

Class PrintPageEventArgs

Provides data for the PrintPage event.

Inheritance
System.Object
System.EventArgs
PrintPageEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Printing
Assembly: OpenSilver.dll
Syntax
public sealed class PrintPageEventArgs : EventArgs

Constructors

| Improve this Doc View Source

PrintPageEventArgs()

Initializes a new instance of the PrintPageEventArgs class.

Declaration
public PrintPageEventArgs()

Properties

| Improve this Doc View Source

HasMorePages

Gets or sets whether there are more pages to print.

Declaration
public bool HasMorePages { get; set; }
Property Value
Type Description
System.Boolean

true if there are additional pages to print; otherwise, false. The default is false.

| Improve this Doc View Source

PageMargins

Gets the margins of the page that is currently printing.

Declaration
[NotImplemented]
public Thickness PageMargins { get; }
Property Value
Type Description
Thickness

The margins of the page that is currently printing.

| Improve this Doc View Source

PageVisual

Gets or sets the visual element to print.

Declaration
public UIElement PageVisual { get; set; }
Property Value
Type Description
UIElement

The visual element to print. The default is null.

| Improve this Doc View Source

PrintableArea

Gets the size of the printable area.

Declaration
[NotImplemented]
public Size PrintableArea { get; }
Property Value
Type Description
Size

The size of the printable area in screen pixels. The default is 0.0F.

  • Improve this Doc
  • View Source