TiObjectCanvas.DisplayRangeY
TiObjectCanvas
Specifies the Y display range.
property DisplayRangeY : Double;
Description
Use DisplayRangeY to get or set the Y display range. The value is not in any
specific units. The height of all objects is drawn in proportion to this value
with the exception of label objects which are fixed. If a object has a height of
50, and DisplayRangeY equals 100, the object height will be half of the height
of the control.
You can also use DisplayRangeY for zooming. To zoom out the y-axis only,
decrease DisplayRangeY. . To zoom in the y-axis only, increase DisplayRangeY. To
zoom the entire display, change both DisplayRangeX and DisplayRangeY proportionally.
Example
Delphi
iComponent.DisplayRangeY := 100;
C++ Builder
iComponent->DisplayRangeY = 100;
Contents | Index | Previous | Next