GefFillFormat (object)

Represents the attributes of the interior portion of an object,
Description: The GefFillFormat object represents the attributes of the interior portion of an object.

Many of the properties are read-only. Use the corresponding method(Solid, Patterned,OneColorGradient, TwoColorGradient)to change the properties.

The ForeColor property is the primary color for the object. For a solid object, it is the only color. The BackColor property is the secondary color for the object.

The GefFillAnim object is used to represent the attributes for fill animation on an object.


Sub GefObject_Fill()
    Dim oCimObj As GefObject
    Dim oCimFillFmt As GefFillFormat
    Set oCimObj = CimGetObject
    Set oCimFillFmt = oCimObj.Fill
    If Not oCimFillFmt Is Nothing Then
        oCimFillFmt.ForeColor.RGB = &HBB& 'red
        CimGetScreen.Refresh False
    End If
End Sub
Properties: Application , BackColor , ForeColor , GradientColorType , GradientDegree , GradientShades , GradientStyle , GradientVariant , Parent , Pattern , Type
Methods: None , OneColorGradient , Patterned , Solid , TwoColorGradient