ImageGear for .NET
ImGearARTHotSpot Class
Members  Example  See Also  Send Feedback
ImageGear21.Art Assembly > ImageGear.ART Namespace : ImGearARTHotSpot Class




Glossary Item Box

Represents ART Hot Spot mark.

Object Model

ImGearARTHotSpot ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearRectangle Structure

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Example

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 BasicCopy 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)

Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTHotSpot

See Also

©2013. Accusoft Corporation. All Rights Reserved.