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




Collection of width items that indicate the supported widths.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionConverter, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionEditor, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ResDescriptionAttribute("The collection of page sizes that can be chosen from when printing the map.")>
<NotifyParentPropertyAttribute(True)>
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# 
[TypeConverterAttribute("ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionConverter, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Tasks.WidthItemCollectionEditor, ESRI.ArcGIS.ADF.Tasks, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ResDescriptionAttribute("The collection of page sizes that can be chosen from when printing the map.")]
[NotifyParentPropertyAttribute(true)]
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.

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.