Sdílet prostřednictvím


MapArea Konstruktory

Definice

Inicializuje novou instanci MapArea třídy .

Přetížení

MapArea()

Inicializuje novou instanci MapArea třídy .

MapArea(String, GraphicsPath)

Inicializuje novou instanci MapArea třídy se zadanou adresou URL a GraphicsPath objektem.

MapArea(String, RectangleF)

Inicializuje novou instanci MapArea třídy se zadanou adresou URL a RectangleF strukturou.

MapArea(MapAreaShape, String, Single[])

Inicializuje novou instanci MapArea třídy se zadaným tvarem, adresou URL a souřadnicemi.

MapArea(String, String, String, String, GraphicsPath, Object)

Inicializuje novou instanci MapArea třídy se zadaným textem popisu, adresou URL, atributy, hodnotou zpětného odeslání, cestou a značkou.

MapArea(String, String, String, String, RectangleF, Object)

Inicializuje novou instanci MapArea třídy se zadaným textem popisu, adresou URL, atributy, hodnotou zpětného odeslání, obdélníkovými souřadnicemi a značkou.

MapArea(MapAreaShape, String, String, String, String, Single[], Object)

Inicializuje novou instanci MapArea třídy se zadaným obrazcem, textem popisu, adresou URL, atributy, hodnotou zpětného odeslání, souřadnicemi a značkou.

MapArea()

Inicializuje novou instanci MapArea třídy .

public:
 MapArea();
public MapArea ();
Public Sub New ()

Poznámky

Tento konstruktor lze použít k vytvoření a inicializaci nové instance MapArea třídy.

Jednodušší způsob, jak vytvořit vlastní MapArea objekt, je použít některou z přetížených Add metod nebo Insert třídy MapAreasCollection .

Platí pro

MapArea(String, GraphicsPath)

Inicializuje novou instanci MapArea třídy se zadanou adresou URL a GraphicsPath objektem.

public:
 MapArea(System::String ^ url, System::Drawing::Drawing2D::GraphicsPath ^ path);
public MapArea (string url, System.Drawing.Drawing2D.GraphicsPath path);
new System.Web.UI.DataVisualization.Charting.MapArea : string * System.Drawing.Drawing2D.GraphicsPath -> System.Web.UI.DataVisualization.Charting.MapArea
Public Sub New (url As String, path As GraphicsPath)

Parametry

url
String

Cílová adresa URL nebo kotevní bod oblasti mapy.

path
GraphicsPath

Objekt GraphicsPath , který definuje tvar oblasti mapy.

Platí pro

MapArea(String, RectangleF)

Inicializuje novou instanci MapArea třídy se zadanou adresou URL a RectangleF strukturou.

public:
 MapArea(System::String ^ url, System::Drawing::RectangleF rect);
public MapArea (string url, System.Drawing.RectangleF rect);
new System.Web.UI.DataVisualization.Charting.MapArea : string * System.Drawing.RectangleF -> System.Web.UI.DataVisualization.Charting.MapArea
Public Sub New (url As String, rect As RectangleF)

Parametry

url
String

Cílová adresa URL nebo kotevní bod oblasti mapy.

rect
RectangleF

Struktura RectangleF , která definuje tvar obdélníkové mapové oblasti.

Platí pro

MapArea(MapAreaShape, String, Single[])

Inicializuje novou instanci MapArea třídy se zadaným tvarem, adresou URL a souřadnicemi.

public:
 MapArea(System::Web::UI::DataVisualization::Charting::MapAreaShape shape, System::String ^ url, cli::array <float> ^ coordinates);
public MapArea (System.Web.UI.DataVisualization.Charting.MapAreaShape shape, string url, float[] coordinates);
new System.Web.UI.DataVisualization.Charting.MapArea : System.Web.UI.DataVisualization.Charting.MapAreaShape * string * single[] -> System.Web.UI.DataVisualization.Charting.MapArea
Public Sub New (shape As MapAreaShape, url As String, coordinates As Single())

Parametry

shape
MapAreaShape

Tvar oblasti mapy.

url
String

Cílová adresa URL nebo kotevní bod oblasti mapy.

coordinates
Single[]

Pole souřadnic, které určují umístění kruhu, obdélníku nebo mnohoúhelníku. Typ použitého obrazce určuje typ požadovaných souřadnic.

Platí pro

MapArea(String, String, String, String, GraphicsPath, Object)

Inicializuje novou instanci MapArea třídy se zadaným textem popisu, adresou URL, atributy, hodnotou zpětného odeslání, cestou a značkou.

public:
 MapArea(System::String ^ toolTip, System::String ^ url, System::String ^ attributes, System::String ^ postBackValue, System::Drawing::Drawing2D::GraphicsPath ^ path, System::Object ^ tag);
public MapArea (string toolTip, string url, string attributes, string postBackValue, System.Drawing.Drawing2D.GraphicsPath path, object tag);
new System.Web.UI.DataVisualization.Charting.MapArea : string * string * string * string * System.Drawing.Drawing2D.GraphicsPath * obj -> System.Web.UI.DataVisualization.Charting.MapArea
Public Sub New (toolTip As String, url As String, attributes As String, postBackValue As String, path As GraphicsPath, tag As Object)

Parametry

toolTip
String

Popisek pro oblast mapy.

url
String

Cílová adresa URL nebo kotevní bod oblasti mapy.

attributes
String

Atributy oblasti mapy.

postBackValue
String

Hodnota zpětného odeslání, kterou lze zpracovat u Click události.

path
GraphicsPath

Souřadnice oblasti oblasti mapy jako grafická cesta.

tag
Object

Značka označující, jestli je oblast mapy vlastní.

Platí pro

MapArea(String, String, String, String, RectangleF, Object)

Inicializuje novou instanci MapArea třídy se zadaným textem popisu, adresou URL, atributy, hodnotou zpětného odeslání, obdélníkovými souřadnicemi a značkou.

public:
 MapArea(System::String ^ toolTip, System::String ^ url, System::String ^ attributes, System::String ^ postBackValue, System::Drawing::RectangleF rect, System::Object ^ tag);
public MapArea (string toolTip, string url, string attributes, string postBackValue, System.Drawing.RectangleF rect, object tag);
new System.Web.UI.DataVisualization.Charting.MapArea : string * string * string * string * System.Drawing.RectangleF * obj -> System.Web.UI.DataVisualization.Charting.MapArea
Public Sub New (toolTip As String, url As String, attributes As String, postBackValue As String, rect As RectangleF, tag As Object)

Parametry

toolTip
String

Popisek pro oblast mapy.

url
String

Cílová adresa URL nebo kotevní bod oblasti mapy.

attributes
String

Atributy oblasti mapy.

postBackValue
String

Hodnota zpětného odeslání, kterou lze zpracovat u Click události.

rect
RectangleF

Souřadnice objektu MapArea .

tag
Object

Značka označující, jestli je oblast mapy vlastní.

Platí pro

MapArea(MapAreaShape, String, String, String, String, Single[], Object)

Inicializuje novou instanci MapArea třídy se zadaným obrazcem, textem popisu, adresou URL, atributy, hodnotou zpětného odeslání, souřadnicemi a značkou.

public:
 MapArea(System::Web::UI::DataVisualization::Charting::MapAreaShape shape, System::String ^ toolTip, System::String ^ url, System::String ^ attributes, System::String ^ postBackValue, cli::array <float> ^ coordinates, System::Object ^ tag);
public MapArea (System.Web.UI.DataVisualization.Charting.MapAreaShape shape, string toolTip, string url, string attributes, string postBackValue, float[] coordinates, object tag);
new System.Web.UI.DataVisualization.Charting.MapArea : System.Web.UI.DataVisualization.Charting.MapAreaShape * string * string * string * string * single[] * obj -> System.Web.UI.DataVisualization.Charting.MapArea
Public Sub New (shape As MapAreaShape, toolTip As String, url As String, attributes As String, postBackValue As String, coordinates As Single(), tag As Object)

Parametry

shape
MapAreaShape

Tvar oblasti mapy.

toolTip
String

Popisek pro oblast mapy.

url
String

Cílová adresa URL nebo kotevní bod oblasti mapy.

attributes
String

Atributy oblasti mapy.

postBackValue
String

Hodnota zpětného odeslání, kterou lze zpracovat u Click události.

coordinates
Single[]

Pole souřadnic, které určují umístění kruhu, obdélníku nebo mnohoúhelníku. Typ použitého obrazce určuje typ požadovaných souřadnic.

tag
Object

Značka označující, jestli je oblast mapy vlastní.

Platí pro