共用方式為


ActionInfoWithDynamicImageMap.CreateImageMapAreaInstance 方法 (ImageMapArea.ImageMapAreaShape, array<Single , String)

Creates an instance object for this report definition object by specifying the shape, coordinates, and tooltip text.

命名空間:  Microsoft.ReportingServices.OnDemandReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Function CreateImageMapAreaInstance ( _
    shape As ImageMapArea.ImageMapAreaShape, _
    coordinates As Single(), _
    toolTip As String _
) As ImageMapAreaInstance
'用途
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

參數

  • coordinates
    型別:array<System.Single[]
    Required values depend on the value of the shape parameter:A Rectangle is represented by a series of left, right, top, and bottom values.A Polygon is represented by a series of x,y pairs.A Circle is represented by x, y, and radius values.
  • toolTip
    型別:System.String
    The tooltip text for the image map area.

傳回值

型別:Microsoft.ReportingServices.OnDemandReportRendering.ImageMapAreaInstance
An ImageMapAreaInstance object.

請參閱

參考

ActionInfoWithDynamicImageMap 類別

CreateImageMapAreaInstance 多載

Microsoft.ReportingServices.OnDemandReportRendering 命名空間