ESRI.ArcGIS.ADF.Web
SwatchInfo Constructor(Int32,Int32,Int32,String,String)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Swatch Namespace > SwatchInfo Class > SwatchInfo Constructor : SwatchInfo Constructor(Int32,Int32,Int32,String,String)




minWidth
Minimum width for the swatch in pixels.
minHeight
Minimum height for the swatch in pixels.
dpi
DPI resolution of the swatch.
physicalDirectory
Physical directory on the server for the swatch.
virtualDirectory
Virtual directory corresponding to the PhysicalDirectory.
Constructor.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal minWidth As Integer, _
   ByVal minHeight As Integer, _
   ByVal dpi As Integer, _
   ByVal physicalDirectory As String, _
   ByVal virtualDirectory As String _
)
Visual Basic (Usage)Copy Code
Dim minWidth As Integer
Dim minHeight As Integer
Dim dpi As Integer
Dim physicalDirectory As String
Dim virtualDirectory As String
 
Dim instance As New SwatchInfo(minWidth, minHeight, dpi, physicalDirectory, virtualDirectory)
C# 
public SwatchInfo( 
   int minWidth,
   int minHeight,
   int dpi,
   string physicalDirectory,
   string virtualDirectory
)

Parameters

minWidth
Minimum width for the swatch in pixels.
minHeight
Minimum height for the swatch in pixels.
dpi
DPI resolution of the swatch.
physicalDirectory
Physical directory on the server for the swatch.
virtualDirectory
Virtual directory corresponding to the PhysicalDirectory.

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.