Shape (Object)

Member of:

Shapes collection

Description:

Represents a Dashboard graphic item in a Shapes (Collection). Certain properties apply only to specific shape objects. For example, the Picture Effect property applies only to a picture object. If you refer to properties that do not apply to an object, no action occurs.

Example:

This example shows how to change the properties of drawing objects in a Dashboard section. The example assumes that the script is running from the same Dashboard section. This provides access to the drawing objects by name:

Line1.DashStyle=bqDashStyleDotDash
Line1.LineWidth = 3
//note you may use Hex values instead of enumerated types for any color property
Rect1.BorderColor = bqBlue
Rect1.Line.DashStyle=bqDashStyleDotDash 
TextLabel.Text = "Welcome to Dashboard Scripting"
TextLabel.Font.Style = bqFontStyleBoldItalic

Methods:

OnClick()

Properties:

Read-only: Property Active As Boolean, Property Group As String, Property Name As String, Property RowCount As Number, Property RowNumber As Number, Property Type As BqShapeType

Read-write: AccessibilityText (Property), Alignment As BqHorizontalAlignment, AppendObjectText (Property), Property Text As String, Property VerticalAlignment As BqVerticalAlignment, Property Visible As Boolean

Objects

Fill As Fill, Line As Line, EventScripts collection