ESRI.ArcGIS.ADF.Tasks
WidthList Property
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > WidthItemSettings Class : WidthList Property




Collection of width items that indicate the supported widths.

Syntax

Visual Basic (Declaration) 
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionEditor, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<TypeConverterAttribute("ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionConverter, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<NotifyParentPropertyAttribute(True)>
<ResDescriptionAttribute("The collection of page sizes that can be chosen from when printing the map.")>
Public Property WidthList As WidthItemCollection
Visual Basic (Usage)Copy Code
Dim instance As WidthItemSettings
Dim value As WidthItemCollection
 
instance.WidthList = value
 
value = instance.WidthList
C# 
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionEditor, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[TypeConverterAttribute("ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionConverter, ESRI.ArcGIS.ADF.Tasks, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[NotifyParentPropertyAttribute(true)]
[ResDescriptionAttribute("The collection of page sizes that can be chosen from when printing the map.")]
public WidthItemCollection WidthList {get; set;}

Remarks

This is a collection of WidthItem objects. Each WidthItem defines a width (size) option in the drop-down list. For example, the item may store a size of 10 cm with a name of "Medium".

Note that the height of the printed map is sized proportionately based on the chosen width and the Map control used for printing.

See Also

© 2010 All Rights Reserved.