ESRI.ArcGIS.ADF.IMS
NorthArrow Constructor(Int32,Point,AcetateUnits)
See Also  Example
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > NorthArrow Class > NorthArrow Constructor : NorthArrow Constructor(Int32,Point,AcetateUnits)




size
location
units
Constructs a NorthArrow object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal size As Integer, _
   ByVal location As Point, _
   ByVal units As AcetateUnits _
)
Visual Basic (Usage)Copy Code
Dim size As Integer
Dim location As Point
Dim units As AcetateUnits
 
Dim instance As NorthArrow(size, location, units)
C# 
public NorthArrow( 
   int size,
   Point location,
   AcetateUnits units
)

Parameters

size
location
units

Example

See the single-argument constructor for more complete example.
C#Copy Code
Point arrowLocation = new Point(30, imgMap.Height.Value - 30); 

NorthArrow northArrow = new NorthArrow(24, arrowLocation, AcetateUnits.Pixel); 

    
Visual BasicCopy Code
Dim arrowLocation As New Point(30, imgMap.Height.Value - 30)

Dim northArrow As New NorthArrow(24, arrowLocation, AcetateUnits.Pixel)

See Also

© 2010 All Rights Reserved.