ESRI.ArcGIS.ADF.Tasks
MapSettings Property
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > PrintTask Class : MapSettings Property




Settings for printing of the map, specifically affecting the checkbox for Print Map on the user dialog.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Settings for the Print results only option.")>
<ResCategoryAttribute("PrintTask")>
<DesignerSerializationVisibilityAttribute()>
<NotifyParentPropertyAttribute(True)>
Public Property MapSettings As ItemSettings(Of Boolean)
Visual Basic (Usage)Copy Code
Dim instance As PrintTask
Dim value As ItemSettings(Of Boolean)
 
instance.MapSettings = value
 
value = instance.MapSettings
C# 
[ResDescriptionAttribute("Settings for the Print results only option.")]
[ResCategoryAttribute("PrintTask")]
[DesignerSerializationVisibilityAttribute()]
[NotifyParentPropertyAttribute(true)]
public ItemSettings<bool> MapSettings {get; set;}

Remarks

An ItemSettings class stores settings for aspects of the PrintTask dialog. The base ItemSettings class contains two properties: DisplayInDialog, which determines whether the item is visible on the user dialog, and DefaultValue, which is the default value for the item. In this case, the ItemSettings determines whether the "Print the Map" checkbox appears on the user dialog, and whether the map is printed by default. If DisplayInDialog is false, then the setting in DefaultValue will determine whether the map is printed.

See Also

© 2010 All Rights Reserved.