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




Settings for the printing of a scalebar, specifically affecting the checkbox for Include Scalebar on the user dialog.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("PrintTask")>
<DesignerSerializationVisibilityAttribute()>
<ResDescriptionAttribute("Settings for the ScaleBar.")>
<NotifyParentPropertyAttribute(True)>
Public Property ScaleBarSettings As ItemSettings(Of Boolean)
Visual Basic (Usage)Copy Code
Dim instance As PrintTask
Dim value As ItemSettings(Of Boolean)
 
instance.ScaleBarSettings = value
 
value = instance.ScaleBarSettings
C# 
[ResCategoryAttribute("PrintTask")]
[DesignerSerializationVisibilityAttribute()]
[ResDescriptionAttribute("Settings for the ScaleBar.")]
[NotifyParentPropertyAttribute(true)]
public ItemSettings<bool> ScaleBarSettings {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 "Include Scalebar" checkbox appears on the user dialog, and whether the scalebar is printed by default. If DisplayInDialog is false, then the setting in DefaultValue will determine whether the scalebar is included on the printed page.

See Also

© 2010 All Rights Reserved.