Share via


PosPrinter.PageModePrintArea Property

2/27/2008

Gets or sets the print area for the print station specified by the PageModeStation property, expressed in the unit of measured specified by the MapMode property.

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

Syntax

'Declaration
Public Overridable Property PageModePrintArea As Rectangle
public virtual Rectangle PageModePrintArea { get; set; }
public:
virtual property Rectangle PageModePrintArea {
    Rectangle get ();
    void set (Rectangle value);
}
/** @property */
public Rectangle get_PageModePrintArea ()

/** @property */
public void set_PageModePrintArea (Rectangle value)
public function get PageModePrintArea () : Rectangle

public function set PageModePrintArea (value : Rectangle)

Remarks

The maximum possible print area is the page area.

Text written to the right edge of the print area will wrap to the next line. Any text or image written beyond the bottom of the print area will be truncated.

If the PageModeStation property is set to an invalid print station, PageModePrintArea returns an empty .NET Rectangle.

PageModePrintArea may cause a PosControlException to be thrown with the following ErrorCode:

Value

Meaning

Illegal

The specified value is invalid.

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