Share via


PosPrinter.PageModeArea Property

2/27/2008

Gets the page area for the selected PageModeStation expressed in the unit of measure given by MapMode.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property PageModeArea As Point
public virtual Point PageModeArea { get; }
public:
virtual property Point PageModeArea {
    Point get ();
}
/** @property */
public Point get_PageModeArea ()
public function get PageModeArea () : Point

Remarks

This page area can differ from the print area and is determined by the hardware capability of the printer. The string consists of two ASCII numbers separated by a comma, in the following order: horizontal size, vertical size.

For example, if the string is "450,800", then the page size is 450 horizontal units by 800 vertical units, and the station print area is a rectangle beginning at the upper-left point (0,0), and continuing up to but excluding the lower right point (450,800).

The PageModeStation property must be set to a valid station before accessing PageModeArea. Otherwise, an empty string is returned.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

PosPrinter Class
PosPrinter Members
Microsoft.PointOfService Namespace