GefObject.FrameContainerFormat (read-only property)

Gets the GefFrameContainerFormat for the object.
Syntax: Set GefFrameContainerFormat = object.FrameContainerFormat
Description: This property is valid for frame container objects only. Returns Nothing if this property is not valid for the object.


Sub GefObject_FrameContainerFormat()
    Dim oCimObj As GefObject
    Dim oCimFrmContFmt As GefFrameContainerFormat
    Set oCimObj = CimGetObject
    Set oCimFrmContFmt = oCimObj.FrameContainerFormat
    If oCimFrmContFmt Is Nothing Then
        MsgBox "This object is not a frame container"
        MsgBox "This object is a frame container"
    End If
End Sub