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




ImageGear.Art Assembly > ImageGear.ART Namespace : ImGearARTButton Class
Represents ART Button mark.
Object Model
ImGearARTButton ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearRectangle StructureIImGearRGBQuad Interface
Syntax
'Declaration
 
Public Class ImGearARTButton 
   Inherits ImGearARTMark
 
'Usage
 
Dim instance As ImGearARTButton
Example
// Setup rectangle for the text mark's location.
ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 100, 40);
// Setup color for the text.
ImGearRGBQuad igRGBQuadText = new ImGearRGBQuad(40, 40, 200);
// Setup color for the fill.
ImGearRGBQuad igRGBQuadFill = new ImGearRGBQuad(200, 200, 200);
// Create the button annotation.
ImGearARTButton igARTButton = new ImGearARTButton(
    igRectangle, "ImGearARTButton annotation", igRGBQuadText,
    igRGBQuadFill, 255, "Arial", (float)14.0, ImGearARTFontStyles.Regular
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTButton, ImGearARTCoordinatesType.IMAGE_COORD);
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTButton

See Also

Reference

ImGearARTButton Members
ImageGear.ART Namespace