ArcObjects Library Reference (Carto)  

IGraphicsContainer.FindFrame Method

Find the frame that contains the specified object.

[Visual Basic .NET]
Public Function FindFrame ( _
    ByVal frameObject As Object _
) As IFrameElement
public IFrameElement FindFrame (
    object frameObject
HRESULT FindFrame(
  VARIANT frameObject,
  IFrameElement** frame


frameObject [in]   frameObject is a parameter of type VARIANT frame [out, retval]

  frame is a parameter of type IFrameElement

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGraphicsContainer Interface

.NET Snippets

Add Scale Bar | Add Legend | Add North Arrow

.NET Samples

Update a legend format with SymbologyControl area and line patches (Code Files: AreaLinePatches)

.NET Related Topics

How to create map grids | Working with map surrounds