Redigeeri

Jagamisviis:


PreviewPageInfo Class

Definition

Specifies print preview information for a single page. This class cannot be inherited.

public ref class PreviewPageInfo sealed
public sealed class PreviewPageInfo
type PreviewPageInfo = class
Public NotInheritable Class PreviewPageInfo
Inheritance
PreviewPageInfo

Remarks

Note

In .NET 6 and later versions, the System.Drawing.Common package, which includes this type, is only supported on Windows operating systems. Use of this type in cross-platform apps causes compile-time warnings and run-time exceptions. For more information, see System.Drawing.Common only supported on Windows.

This class is used extensively by the PreviewPrintController class.

For more information on printing, see the System.Drawing.Printing namespace overview.

Constructors

PreviewPageInfo(Image, Size)

Initializes a new instance of the PreviewPageInfo class.

Properties

Image

Gets the image of the printed page.

PhysicalSize

Gets the size of the printed page, in hundredths of an inch.

Methods

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)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also