Metoda ActionInfoWithDynamicImageMap.CreateImageMapAreaInstance (ImageMapArea.ImageMapAreaShape, array<Single[], String)
Tworzy obiekt wystąpienie tego obiektu definicja raportu, określając kształt, współrzędne i tekst etykietki narzędzia.
Przestrzeń nazw: Microsoft.ReportingServices.OnDemandReportRendering
Zestaw: Microsoft.ReportingServices.ProcessingCore (w Microsoft.ReportingServices.ProcessingCore.dll)
Składnia
'Deklaracja
Public Function CreateImageMapAreaInstance ( _
shape As ImageMapArea..::..ImageMapAreaShape, _
coordinates As Single(), _
toolTip As String _
) As ImageMapAreaInstance
'Użycie
Dim instance As ActionInfoWithDynamicImageMap
Dim shape As ImageMapArea..::..ImageMapAreaShape
Dim coordinates As Single()
Dim toolTip As String
Dim returnValue As ImageMapAreaInstance
returnValue = instance.CreateImageMapAreaInstance(shape, _
coordinates, toolTip)
public ImageMapAreaInstance CreateImageMapAreaInstance(
ImageMapArea..::..ImageMapAreaShape shape,
float[] coordinates,
string toolTip
)
public:
ImageMapAreaInstance^ CreateImageMapAreaInstance(
ImageMapArea..::..ImageMapAreaShape shape,
array<float>^ coordinates,
String^ toolTip
)
member CreateImageMapAreaInstance :
shape:ImageMapArea..::..ImageMapAreaShape *
coordinates:float32[] *
toolTip:string -> ImageMapAreaInstance
public function CreateImageMapAreaInstance(
shape : ImageMapArea..::..ImageMapAreaShape,
coordinates : float[],
toolTip : String
) : ImageMapAreaInstance
Parametry
- shape
Typ: Microsoft.ReportingServices.OnDemandReportRendering.ImageMapArea.ImageMapAreaShape
Kształt obszar mapy obrazu.
- coordinates
Typ: array<System.Single[]
Wymagane wartości zależą od wartości shape parametr:
A Rectangle jest reprezentowany przez serię lewy, prawy, górny i dolnej wartości.
A Polygon jest reprezentowany przez serię x, y pary.
A Circle jest reprezentowany przez x, y i wartości radius.
- toolTip
Typ: System.String
Tekst etykietki narzędzia dla obszaru mapy obrazu.
Wartość zwracana
Typ: Microsoft.ReportingServices.OnDemandReportRendering.ImageMapAreaInstance
ImageMapAreaInstance Obiektu.