共用方式為


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

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

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

語法

'宣告
Public Function CreateImageMapAreaInstance ( _
    shape As ImageMapArea.ImageMapAreaShape, _
    coordinates As Single() _
) As ImageMapAreaInstance
'用途
Dim instance As ActionInfoWithDynamicImageMap 
Dim shape As ImageMapArea.ImageMapAreaShape 
Dim coordinates As Single()
Dim returnValue As ImageMapAreaInstance 

returnValue = instance.CreateImageMapAreaInstance(shape, _
    coordinates)
public ImageMapAreaInstance CreateImageMapAreaInstance(
    ImageMapArea.ImageMapAreaShape shape,
    float[] coordinates
)
public:
ImageMapAreaInstance^ CreateImageMapAreaInstance(
    ImageMapArea.ImageMapAreaShape shape, 
    array<float>^ coordinates
)
member CreateImageMapAreaInstance : 
        shape:ImageMapArea.ImageMapAreaShape * 
        coordinates:float32[] -> ImageMapAreaInstance
public function CreateImageMapAreaInstance(
    shape : ImageMapArea.ImageMapAreaShape, 
    coordinates : float[]
) : 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.

傳回值

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

請參閱

參考

ActionInfoWithDynamicImageMap 類別

CreateImageMapAreaInstance 多載

Microsoft.ReportingServices.OnDemandReportRendering 命名空間