Share via


PosPrinter.PageModeVerticalPosition Property

2/27/2008

Gets or sets the vertical start position offset within the print area for the print station specified by the PageModeStation property, expressed in the unit of measure specified by the MapMode property.

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

Syntax

'Declaration
Public Overridable Property PageModeVerticalPosition As Integer
public virtual int PageModeVerticalPosition { get; set; }
public:
virtual property int PageModeVerticalPosition {
    int get ();
    void set (int value);
}
/** @property */
public int get_PageModeVerticalPosition ()

/** @property */
public void set_PageModeVerticalPosition (int value)
public function get PageModeVerticalPosition () : int

public function set PageModeVerticalPosition (value : int)

Remarks

The vertical position is defined as perpendicular to the direction specified by the PageModePrintDirection property. If the exact specified position cannot be supported, the service object will set the position to the closest supported value.

Note

Retrieving the value of PageModeVerticalPosition returns the vertical position offset specified by the last setting of this property and not the current position.

If PageModeStation property is set to an invalid value, PageModeVerticalPosition will be set to zero (0).

Setting PageModeVerticalPosition may throw a PosControlException with the following errorcode:

Value

Meaning

Illegal

The specified value is either less than zero or a greater than the current page height minus 1.

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