ESRI.ArcGIS.ADF.Web
SwatchInfo Constructor(Int32,Int32,Int32,String,String)
See Also 
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 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.

See Also

© 2010 All Rights Reserved.