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