TiAngularGauge.GetPointersStyle

TiAngularGauge See Also

Used to get the offset of a specific pointer at runtime.

type TiAngularGaugePointerStyle = (iagpsArrowLine, iagpsArrow, iagpsLine, iagpsTriangle);

function GetPointersStyle (Index: Integer): TiAngularGaugePointerStyle;

Description

Use GetPointersStyle to get the style of the Pointer specified by Index.

For backward compatibility, the PointerStyle property of the gauge component will modify the margin of Pointer index 0.

These are the possible values:

Value
Meaning
iagpsArrowLine
Thin line starting at the arc center point to the scale with an arrow at the end.
iagpsArrow
Arrow only at the scale.
iagpsLine
Thin line only from the arc center point to the Scale.
iagpsTriangle
Triangle from the arc center point to the Scale.

Example

Delphi

Value := iComponent.GetPointersStyle(1); //Gets the second pointer's style

C++ Builder

Value = iComponent->GetPointersStyle(1); //Gets the second pointer's style

Note: Index is 0 based. Pointer with Index 0 can never be deleted.

Contents | Index | Previous | Next