RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCanvas.CanvasOrientation Property

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

Pascal
property CanvasOrientation: TCanvasOrientation;
C++
__property TCanvasOrientation CanvasOrientation;

CanvasOrientation is a read-only property used for bi-directional 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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!