![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
InitializationParameters Constructor(UInt16,Boolean,Boolean,Boolean,Boolean) | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > InitializationParameters Class > InitializationParameters Constructor : InitializationParameters Constructor(UInt16,Boolean,Boolean,Boolean,Boolean) |
- 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.
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 _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim screenDpi As UShort Dim loadRenderers As Boolean Dim loadFields As Boolean Dim loadLayerExtents As Boolean Dim loadExtensions As Boolean Dim instance As New InitializationParameters(screenDpi, loadRenderers, loadFields, loadLayerExtents, loadExtensions) |
C# | |
---|---|
public InitializationParameters( ushort screenDpi, bool loadRenderers, bool loadFields, bool loadLayerExtents, bool loadExtensions ) |
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.
For an example, see the MapService overview. See also the InitializationParameters overview for another example of using the class.
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.
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