TcxCustomCanvas.WindowOrg Property
Specifies the position of a window origin for the canvas.
Declaration
property WindowOrg: TPoint read; write;
Property Value
Type |
---|
TPoint |
Remarks
The viewport and window origin positions define the relationship between the device and logical coordinate spaces for the canvas. Use the WindowOrg property to specify which point of the logical (window) space corresponds to the origin (0, 0) point of the device coordinate space. This operation shifts logical coordinate axes horizontally and/or vertically and scrolls the canvas accordingly. Alternatively, you can call the MoveWindowOrg function instead.
Note
Since both the device and logical coordinate spaces are relative to each other, do not use the WindowOrg property simultaneously with a property that changes the viewport position (ViewportOrg, for instance).
See Also