Initializes a new instance of the Note class with the specified name and Geometry and Symbol.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Note(
	string name,
	Geometry geometry,
	Symbol symbol
)
Visual Basic (Declaration)
Public Sub New ( _
	name As String, _
	geometry As Geometry, _
	symbol As Symbol _
)

Parameters

name
Type: System..::.String

The name of the Note.
geometry
Type: ESRI.ArcGISExplorer.Geometry..::.Geometry

A Geometry object to set as the Graphic.Geometry property of the new Note.Graphic; cannot be nullNothingnullptra null reference (Nothing in Visual Basic).
symbol
Type: ESRI.ArcGISExplorer.Mapping..::.Symbol

A Symbol object to set as the Graphic.Symbol property of the new Note.Graphic.

Remarks

This overload initializes the Name with the specified name. The geometry and symbol parameters are used to construct a Graphic object to set as the Graphic property of the new Note.

Exceptions

ExceptionCondition
System..::.NullReferenceExceptionA Graphic cannot have a nullNothingnullptra null reference (Nothing in Visual Basic) Geometry.
System..::.ArgumentExceptionA Graphic cannot have a Geometry which is an Envelope, Multipoint, or Multipatch.

See Also