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
[C#]
public IFrameElement FindFrame (
    object frameObject
);
[C++]
HRESULT FindFrame(
  VARIANT frameObject,
  IFrameElement** frame
);
[C++]

Parameters

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