Skip to main content
A newer version of this page is available. .

PdfPrintPageEventArgs Members

Provides data for the PdfViewerControl.PrintPage event.

Constructors

Name Description
PdfPrintPageEventArgs(PdfPrintPageEventArgs) Initializes a new instance of the PdfPrintPageEventArgs class with the specified parameter.

Fields

Name Description
Empty static Provides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

Name Description
Cancel Gets or sets a value indicating whether the print job should be canceled.
Graphics Gets the Graphics used to paint the page
Handled Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
HasMorePages Gets or sets a value indicating whether an additional page should be printed.
MarginBounds Returns the rectangular area that represents the portion of the page inside the margins.
OriginalSource Gets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
PageBounds Returns the rectangular area that represents the total area of the page.
PageCount Returns the total number of pages sent to the printer.
PageNumber Returns the page number of the currently printed page.
PageSettings Gets the page settings for the current page.
RoutedEvent Gets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
Source Gets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
InvokeEventHandler(Delegate, Object) protected When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnSetSource(Object) protected When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also