ImageGear .NET
ImGearARTHotSpot Class
Members  Example 




Represents ART Hot Spot mark.
Object Model
ImGearARTHotSpot ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearRectangle Structure
Syntax
'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 
Example
// 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)
Inheritance Hierarchy

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

See Also

Reference

ImGearARTHotSpot Members
ImageGear.ART Namespace

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback