Visual Basic
C#
Managed Extensions for C++
C++/CLI
C# | Copy Code |
---|---|
// 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); |
Visual Basic | Copy Code |
---|---|
' 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