Graphics.TCustomCanvas.CanvasOrientation

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Graphics.pas

	property CanvasOrientation: TCanvasOrientation read GetCanvasOrientation;


Unit: Graphics

Type: property

Visibility: public

Member Of: TCustomCanvas

C++ Information

From Graphics.hpp

	__property Graphics::TCanvasOrientation CanvasOrientation = {read=GetCanvasOrientation};


Unit: Graphics

Type: property

Visibility: public

Member Of: TCustomCanvas

Description

Determines the orientation of the canvas as left-to-right or right-to-left.


CanvasOrientation is a read-only property used for bidirectional support. It indicates whether the orientation of the canvas is left-to-right (coLeftToRight) or right-to-left (coRightToLeft). The default is coLeftToRight, meaning that the 0,0 coordinate is at the top-left corner of the canvas. In Middle Eastern locales, the orientation may be coRightToLeft, meaning that the 0,0 coordinate is at the top-right corner of the canvas. This property is important for grid controls because it changes the grid's canvas orientation during drawing.

See Also

Personal tools
Translations
Newest Version