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


IGraphicsContainer.FindFrame Method (ArcObjects .NET 10.6 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
);
[C++]

Parameters frameObject [in]
frameObject is a parameter of type VARIANT

Product Availability

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

See Also

IGraphicsContainer Interface

.NET Snippets

Add North Arrow | Add Scale Bar | 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