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




minWidth
Minimum width for the swatch in pixels.
minHeight
Minimum height for the swatch in pixels.
dpi
DPI resolution of the swatch.
session
Session where the swatch image data may be stored.
Constructor.

Syntax

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

Parameters

minWidth
Minimum width for the swatch in pixels.
minHeight
Minimum height for the swatch in pixels.
dpi
DPI resolution of the swatch.
session
Session where the swatch image data may be stored.

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.