GaugeSetGaugeType method (WinStudio scripts)

Applies To

IWSFormComponent interface

Definition

Sets the Gauge Type for a gauge component.

Syntax

object.GaugeSetGaugeType(string)

Part Description
object Required. A reference to a valid gauge component object.
string Required. A valid gauge display type.

Remarks

Valid gauge display types are:

  • AngularGauge: Angular (Circular) Gauge
  • HLinearGauge: Horizontal Linear Gauge
  • Bulb
  • Cylinder
  • HLED: Horizontal LED
  • Thermometer
  • VLED: Vertical LED
  • HBullet: Horizontal Bullet
  • VBullet: Vertical Bullet

Example

Sub Main()
    ThisForm.Components("gauge1").GaugeSetGaugeType("AngularGauge")
End Sub