GefObject.PolylineFormat (read-only property)

Gets the GefPolylineFormat of the Polyline object.
Syntax: Set GefPolylineFormat = object.PolylineFormat
Description: The PolylineFormat property returns the GefPolylineFormat object.

If this property is not valid for a particular object type, it returns Nothing.


Sub GefObject_PolylineFormat()
    Dim oCimObj As GefObject
    Dim oCimPolyFmt As GefPolylineFormat
    Set oCimObj = CimGetObject
    Set oCimPolyFmt = oCimObj.PolylineFormat
    If Not oCimPolyFmt Is Nothing Then
        MsgBox "This is a valid polyline object"
        MsgBox "This is not a valid polyline object"
    End If
End Sub