แก้ไข

แชร์ผ่าน


PageImageableArea Class

Definition

Represents the area of a page that can be printed.

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

Remarks

Most laser and inkjet printers must leave an unprinted area around the edges of a page to prevent toner from getting on the parts of the printer that move the sheets. For many photographic printers, however, the entire page is imageable.

For a class that includes the same information about the imageable area as PageImageableArea and also includes page size, see PrintDocumentImageableArea.

Caution

Classes within the System.Printing namespace are not supported for use within a Windows service or ASP.NET application or service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.

If you want to print from a Windows Forms application, see the System.Drawing.Printing namespace.

Properties

ExtentHeight

Gets the height of the imageable area.

ExtentWidth

Gets the width of the imageable area.

OriginHeight

Gets the origin height, which is the distance from the upper-left corner of the imageable area (also called the "origin" of the imageable area) to the nearest point on the top edge of the page.

OriginWidth

Gets the origin width, which is the distance from the left edge of the page to the upper-left corner of the imageable area (also called the "origin" of the imageable area).

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 the String representation of PageImageableArea.

Applies to