GefLineFormat.ForeColor (read-only property)

Gets the GefColorFormat of the foreground color.
Syntax: Set GefColorFormat = object.ForeColor
Description: This specifies the color of the border. Note: there is no BackColor for the border.

Example:

Sub LineFormat_ForeColor()
    
    Dim oCimObj As GefObject
    Dim oCimLineFmt As GefLineFormat
    Dim oCimFmtColor As GefColorFormat
    Set oCimObj = CimGetObject
    Set oCimLineFmt = oCimObj.Line
    oCimLineFmt.ForeColor.RGB = &HBB& 'Red
    cimgetscreen.Refresh False
    
End Sub