Share via


PosPrinterBase.PageModeHorizontalPosition Property

2/27/2008

Holds the horizontal start position offset within the print area for the selected PageModeStation, expressed in the unit of measure given by MapMode.

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

Syntax

'Declaration
Public Overrides Property PageModeHorizontalPosition As Integer
public override int PageModeHorizontalPosition { get; set; }
public:
virtual property int PageModeHorizontalPosition {
    int get () override;
    void set (int value) override;
}
/** @property */
public int get_PageModeHorizontalPosition ()

/** @property */
public void set_PageModeHorizontalPosition (int value)
public override function get PageModeHorizontalPosition () : int

public override function set PageModeHorizontalPosition (value : int)

Property Value

In integer that holds the horizontal start position offset within the print area for the selected PageModeStation.

Remarks

Holds the horizontal start position offset within the print area for the selected PageModeStation, expressed in the unit of measure given by MapMode. The horizontal direction is the same as the actual PageModePrintDirection property. If the exact position cannot be supported then the position is set to the closest supported value.

A read/get on this property will return the horizontal position offset set by the last write/set and not the current position.

The PageModeStation property must be set to a valid station before accessing this property, otherwise the value zero (0) 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

PosPrinterBase Class
PosPrinterBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace