ImageGear .NET - Updated
ImGearARTHollowRectangle Class
Members  Example 




ImageGear23.Art Assembly > ImageGear.ART Namespace : ImGearARTHollowRectangle Class
Represents legacy ART Hollow Rectangle mark.
Object Model
ImGearARTHollowRectangle ClassIImGearRGBQuad InterfaceImGearRectangle StructureImGearRectangle Structure
Syntax
'Declaration
 
Public Class ImGearARTHollowRectangle 
   Inherits ImGearARTMark
'Usage
 
Dim instance As ImGearARTHollowRectangle
public class ImGearARTHollowRectangle : ImGearARTMark 
public __gc class ImGearARTHollowRectangle : public ImGearARTMark 
public ref class ImGearARTHollowRectangle : public ImGearARTMark 
Example
// Setup rectangle for the hollow rectangle mark's location.
ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 300, 100);
// Setup color for the hollow rectangle.
ImGearRGBQuad igRGBQuad = new ImGearRGBQuad(40, 200, 40);
// Create hollow rectangle with a border of 10 and highlight off.
ImGearARTHollowRectangle igARTHollowRectangle = new ImGearARTHollowRectangle(
    igRectangle, igRGBQuad, 10, false
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTHollowRectangle, ImGearARTCoordinatesType.IMAGE_COORD);
' Setup rectangle for the hollow rectangle mark's location.
Dim igRectangle As New ImGearRectangle(10, 10, 300, 100)
' Setup color for the hollow rectangle.
Dim igRGBQuad As New ImGearRGBQuad(40, 200, 40)
' Create hollow rectangle with a border of 10 and highlight off.
Dim igARTHollowRectangle As New ImGearARTHollowRectangle( _
 igRectangle, igRGBQuad, 10, False)
' Add the annotation to the ARTPage.
igARTPage.AddMark(igARTHollowRectangle, ImGearARTCoordinatesType.IMAGE_COORD)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTHollowRectangle

See Also

Reference

ImGearARTHollowRectangle Members
ImageGear.ART Namespace