3
我需要在ImageMap 什麼我想要做的僞代碼來創建熱點的動態數量的能力創建動態熱點低於:在ASP.net圖像映射
Protected Sub AddHotSpot()
Dim r1 New RectangleHotSpot
For Each Item as datarow in dataset
r1.HotSpotMode = HotSpotMode.PostBack
r1.PostBackValue = "HotSpot 1"
r1.AlternateText = "HotSpot 1"
r1.Top = Item.Top
r1.Left = Item.Left
r1.Bottom = Item.Bottom
r1.Right = Item.Right
Next
想到R1作爲某種形式的動態構造