ESRI.ArcGIS.ADF.Web
DrawHashLine(Pen,Graphics,Point,Point,Int32,Int32,Int32) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Drawing Namespace > DrawingUtility Class > DrawHashLine Method : DrawHashLine(Pen,Graphics,Point,Point,Int32,Int32,Int32) Method




pen
The pen.
graphics
The graphics.
point1
The point1.
point2
The point2.
tickWidth
Width of the tick.
tickInterval
The tick interval.
tickLength
Length of the tick.
Draws the hash line.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Sub DrawHashLine( _
   ByVal pen As Pen, _
   ByVal graphics As Graphics, _
   ByVal point1 As Point, _
   ByVal point2 As Point, _
   ByVal tickWidth As Integer, _
   ByVal tickInterval As Integer, _
   ByVal tickLength As Integer _
) 
Visual Basic (Usage)Copy Code
Dim pen As Pen
Dim graphics As Graphics
Dim point1 As Point
Dim point2 As Point
Dim tickWidth As Integer
Dim tickInterval As Integer
Dim tickLength As Integer
 
DrawingUtility.DrawHashLine(pen, graphics, point1, point2, tickWidth, tickInterval, tickLength)
C# 
public static void DrawHashLine( 
   Pen pen,
   Graphics graphics,
   Point point1,
   Point point2,
   int tickWidth,
   int tickInterval,
   int tickLength
)

Parameters

pen
The pen.
graphics
The graphics.
point1
The point1.
point2
The point2.
tickWidth
Width of the tick.
tickInterval
The tick interval.
tickLength
Length of the tick.

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.