![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
ScaleBar Constructor(Point,AcetateUnits) | |
See Also Example Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > ScaleBar Class > ScaleBar Constructor : ScaleBar Constructor(Point,AcetateUnits) |
- location
- units
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal location As Point, _ ByVal units As AcetateUnits _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim location As Point Dim units As AcetateUnits Dim instance As New ScaleBar(location, units) |
C# | |
---|---|
public ScaleBar( Point location, AcetateUnits units ) |
Parameters
- location
- units
This example creates a point for the scalebar location, then creates the scalebar. For a more extensive example, see the ScaleBar overview.
C# | ![]() |
---|---|
Point scalebarPt = new Point(30, 250); ScaleBar scalebar = new ScaleBar(Point, AcetateUnits.Pixel); |
Visual Basic | ![]() |
---|---|
Dim scalebarPt As New Point(30, 250) Dim scalebar As New ScaleBar(Point, AcetateUnits.Pixel) |
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