Share via


PosPrinter.PageModePrintDirection Property

2/27/2008

Gets the print direction, as specified by the PageModePrintDirection enumeration.

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

Syntax

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

/** @property */
public void set_PageModePrintDirection (PageModePrintDirection value)
public function get PageModePrintDirection () : PageModePrintDirection

public function set PageModePrintDirection (value : PageModePrintDirection)

Remarks

Possible values are as follows:

Member

Description

BottomToTop

Print bottom to top, starting at the lower left position of the print area (that is, rotated left 90° printing).

LeftToRight

Print left to right, starting at upper-left position of the print area (that is, normal printing).

None

No valid station is selected.

RightToLeft

Print right to left, starting at the lower right position of the print area (that is, upside down printing).

TopToBottom

Print top to bottom, starting at the upper-right position of the print area (that is, rotated right 90° printing.)

If the PageModeStation property is set to PrinterStation.None, then PageModePrintDirection  is set to PageModePrintDirection.None.

Setting PageModePrintDirection affects the current print area, and can also change the values of the PageModeHorizontalPosition and PageModeVerticalPostion properties.

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