This property returns the border colour of the specified shape encoded as 32 bit integer value, where the first byte contains Red channel, the second byte - Green channel and the third byte - Blue channel.
object.BorderColor
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISShape interface |
uint
Display some information about the specified shape, including its border colour in HEX format.
Dim aShape
Dim aShapeInfo
Set aShape = Form.Controls_("Shape1")
aShapeInfo =_
"Type Name: " & aShape.TypeName & vbNewLine &_
"ShortName: " & aShape.ShortName & vbNewLine &_
"Border Color (BGR): #" & HEX(aShape.BorderColor)
Profile.MsgBox(aShapeInfo)
In Profile Client v8 on User Interface Border Color can be found in
.