ESRI.ArcGIS.ADF.IMS
InitializationParameters Constructor(UInt16,Boolean,Boolean,Boolean,Boolean,String)
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > InitializationParameters Class > InitializationParameters Constructor : InitializationParameters Constructor(UInt16,Boolean,Boolean,Boolean,Boolean,String)




screenDpi
Dpi of the display screen.
loadRenderers
Whether to load the layer renderer information on initialization.
loadFields
Whether to load the layer fields on initialization.
loadLayerExtents
Whether to load the layer extent information on initialization.
loadExtensions
Whether to load extension information on initialization.
loadDataFrames
Specifies the DataFrames to be loaded into this MapService. Use "#ALL#" if you want all of them. This parameter is only used with ArcMapImage Services.
Construct an InitializationParameters object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal screenDpi As UShort, _
   ByVal loadRenderers As Boolean, _
   ByVal loadFields As Boolean, _
   ByVal loadLayerExtents As Boolean, _
   ByVal loadExtensions As Boolean, _
   ByVal loadDataFrames As String _
)
Visual Basic (Usage)Copy Code
Dim screenDpi As UShort
Dim loadRenderers As Boolean
Dim loadFields As Boolean
Dim loadLayerExtents As Boolean
Dim loadExtensions As Boolean
Dim loadDataFrames As String
 
Dim instance As New InitializationParameters(screenDpi, loadRenderers, loadFields, loadLayerExtents, loadExtensions, loadDataFrames)
C# 
public InitializationParameters( 
   ushort screenDpi,
   bool loadRenderers,
   bool loadFields,
   bool loadLayerExtents,
   bool loadExtensions,
   string loadDataFrames
)

Parameters

screenDpi
Dpi of the display screen.
loadRenderers
Whether to load the layer renderer information on initialization.
loadFields
Whether to load the layer fields on initialization.
loadLayerExtents
Whether to load the layer extent information on initialization.
loadExtensions
Whether to load extension information on initialization.
loadDataFrames
Specifies the DataFrames to be loaded into this MapService. Use "#ALL#" if you want all of them. This parameter is only used with ArcMapImage Services.

Example

Remarks

When a load parameter is set to false, the information for the respective objects is not loaded and those objects are not available in the MapService, or in the MapView or LayoutView created from the MapService. For example, if loadRenderers is set to false, the Renderer for each FeatureLayer in the MapView will be null (Nothing). Performance is better when fewer items are loaded.

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.