MapArea Konstruktory

Definice

Inicializuje novou instanci MapArea třídy.

Přetížení

Name Description
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 obrazcem, 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 postback, 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 postback, souřadnicemi obdélníku 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 postback, 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 však použít jeden z přetížených Add nebo Insert metod MapAreasCollection třídy.

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 bod ukotvení 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 bod ukotvení oblasti mapy.

rect
RectangleF

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

Platí pro

MapArea(MapAreaShape, String, Single[])

Inicializuje novou instanci MapArea třídy se zadaným obrazcem, 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 bod ukotvení 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 požadovaný typ 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 postback, 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 nástroje pro oblast mapy.

url
String

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

attributes
String

Atributy pro oblast mapy.

postBackValue
String

Hodnota postback, kterou lze zpracovat v Click události.

path
GraphicsPath

Souřadnice 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 postback, souřadnicemi obdélníku 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 nástroje pro oblast mapy.

url
String

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

attributes
String

Atributy pro oblast mapy.

postBackValue
String

Hodnota postback, kterou lze zpracovat v 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 postback, 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 nástroje pro oblast mapy.

url
String

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

attributes
String

Atributy pro oblast mapy.

postBackValue
String

Hodnota postback, kterou lze zpracovat v 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 požadovaný typ souřadnic.

tag
Object

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

Platí pro