ImageGear .NET v24.12 - Updated
ImGearARTImageRef Class
Members  Example 




ImageGear24.Art Assembly > ImageGear.ART Namespace : ImGearARTImageRef Class
Represents legacy ART Image Reference mark.
Object Model
ImGearARTImageRef ClassImGearRectangle StructureImGearRectangle Structure
Syntax
'Declaration
 
Public Class ImGearARTImageRef 
   Inherits ImGearARTMark
'Usage
 
Dim instance As ImGearARTImageRef
public class ImGearARTImageRef : ImGearARTMark 
public __gc class ImGearARTImageRef : public ImGearARTMark 
public ref class ImGearARTImageRef : public ImGearARTMark 
Example
// Setup rectangle for the reference image mark's location.
ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 100, 100);
// Create reference image mark using a file "PNGTEST.png".
ImGearARTImageRef igARTImageRef = new ImGearARTImageRef(
    igRectangle, "PNGTEST.png"
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTImageRef, ImGearARTCoordinatesType.IMAGE_COORD);
' Setup rectangle for the reference image mark's location.
Dim igRectangle As New ImGearRectangle(10, 10, 100, 100)
' Create reference image mark using a file "PNGTEST.png".
Dim igARTImageRef As New ImGearARTImageRef( _
 igRectangle, "PNGTEST.png")
' Add the annotation to the ARTPage.
igARTPage.AddMark(igARTImageRef, ImGearARTCoordinatesType.IMAGE_COORD)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTImageRef

See Also

Reference

ImGearARTImageRef Members
ImageGear.ART Namespace