RegionArea Property

Measurement Studio User Interface

RegionArea Property

Syntax

CWShape.RegionArea

Data Type

CWRegionAreas

You can use the following constants with this data type:

  • cwRegionInverted–Specifies an inverted region area.
  • cwRegionNormal–Specifies a normal region area.

Purpose

Specifies the region area of the shape.

Remarks

Typically, an inverted region area highlights values less than the XCoordinates or YCoordinates values. A normal region area usually highlights values greater than the XCoordinates and YCoordinates values.

Example

'Highlight in blue all the values that are below 5 on the y axis.
CWGraph1.Annotations.Item(1).Shape.Type = cwShapeMinMaxRegion
CWGraph1.Annotations.Item(1).Shape.RegionArea = cwRegionInverted
CWGraph1.Annotations.Item(1).Shape.XCoordinates = Array()
CWGraph1.Annotations.Item(1).Shape.YCoordinates = Array(5)
CWGraph1.Annotations.Item(1).Shape.FillVisible = True
CWGraph1.Annotations.Item(1).Shape.Color = vbBlue

See Also

XCoordinates

YCoordinates