ESRI.ArcGIS.ADF.Web
DrawHashLine(Pen,Graphics,Point,Point,Int32,Int32,Int32,Single) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Drawing Namespace > DrawingUtility Class > DrawHashLine Method : DrawHashLine(Pen,Graphics,Point,Point,Int32,Int32,Int32,Single) 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.
initialOffset
The initial offset.
Draws the hash line.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function 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, _
   ByVal initialOffset As Single _
) As Single
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
Dim initialOffset As Single
Dim value As Single
 
value = DrawingUtility.DrawHashLine(pen, graphics, point1, point2, tickWidth, tickInterval, tickLength, initialOffset)
C# 
public static float DrawHashLine( 
   Pen pen,
   Graphics graphics,
   Point point1,
   Point point2,
   int tickWidth,
   int tickInterval,
   int tickLength,
   float initialOffset
)

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.
initialOffset
The initial offset.

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.