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 命名空间