ESRI.ArcGIS.ADF.IMS
DataFrames Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > LayoutView Class : DataFrames Property




The collection of data frames placed in the layout.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property DataFrames As DataFrameCollection
Visual Basic (Usage)Copy Code
Dim instance As LayoutView
Dim value As DataFrameCollection
 
value = instance.DataFrames
C# 
public DataFrameCollection DataFrames {get;}

Example

For an example, see the LayoutView overview.

Remarks

When the map is created in ArcMap, the author can place one or more data frames within the layout. This property returns a DataFrameCollection that contains the data frames added to the layout. For each DataFrame in the collection, you can inspect many properties of the data frame, and can modify some of these properties prior to generating a layout image or file. See DataFrame for information on properties available for view and for modification.

This property will be null (Nothing) if the InitializationParameters used in initializing the MapService does not have at least one data frame (or #ALL#) included in the LoadDataFrames property or argument.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.