ImageGear PDF v25.1 - Updated July 30, 2021
ImGearARTImageEmb Class
Members  Example 




ImageGear.Art Assembly > ImageGear.ART Namespace : ImGearARTImageEmb Class
Represents legacy ART Embedded Image mark.
Object Model
ImGearARTImageEmb ClassImGearRectangle StructureImGearRectangle StructureImGearPage Class
Syntax
'Declaration
 
Public Class ImGearARTImageEmb 
   Inherits ImGearARTMark
 
'Usage
 
Dim instance As ImGearARTImageEmb
Example
// Setup rectangle for the embedded image mark's location.
ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 100, 100);
// Load an image to embed
ImGearPage igPageEmbedded;
using (FileStream localFile = new FileStream("photo.jpg", FileMode.Open))
{
    igPageEmbedded = ImGearFileFormats.LoadPage(localFile, 0);
}
// Create embedded image mark using igPageEmbedded.
ImGearARTImageEmb igARTImageEmb = new ImGearARTImageEmb(
    igRectangle, igPageEmbedded
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTImageEmb, ImGearARTCoordinatesType.IMAGE_COORD);
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTImageEmb

See Also

Reference

ImGearARTImageEmb Members
ImageGear.ART Namespace