This document is archived and information here might be outdated.  Recommended version.


IGraphicsContainer.FindFrame Method (ArcObjects .NET 10.4 SDK)
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 North Arrow | Add Legend

.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