ImageGear23.Art Assembly > ImageGear.ART Namespace : ImGearARTHotSpot Class |
'Declaration Public Class ImGearARTHotSpot Inherits ImGearARTMark
'Usage Dim instance As ImGearARTHotSpot
public class ImGearARTHotSpot : ImGearARTMark
public __gc class ImGearARTHotSpot : public ImGearARTMark
public ref class ImGearARTHotSpot : public ImGearARTMark
// Setup rectangle for the hotspot mark's location. ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 300, 100); // Setup color for the hotspot. ImGearRGBQuad igRGBQuad = new ImGearRGBQuad(40, 200, 40); // Create hotspot with an opacity of 75%. ImGearARTHotSpot igARTHotSpot = new ImGearARTHotSpot( igRectangle, igRGBQuad, (int)(0.75 * 255) ); // Add the annotation to the ARTPage. igARTPage.AddMark(igARTHotSpot, ImGearARTCoordinatesType.IMAGE_COORD);
' Setup rectangle for the hotspot mark's location. Dim igRectangle As New ImGearRectangle(10, 10, 300, 100) ' Setup color for the hotspot. Dim igRGBQuad As New ImGearRGBQuad(40, 200, 40) ' Create hotspot with an opacity of 75%. Dim igARTHotSpot As New ImGearARTHotSpot( _ igRectangle, igRGBQuad, CInt(0.75 * 255)) ' Add the annotation to the ARTPage. igARTPage.AddMark(igARTHotSpot, ImGearARTCoordinatesType.IMAGE_COORD)
System.Object
ImageGear.ART.ImGearARTSelection
ImageGear.ART.ImGearARTMark
ImageGear.ART.ImGearARTHotSpot