ESRI.ArcGIS.ADF.IMS
DataFrames Property
See Also 
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.

See Also

© 2010 All Rights Reserved.