ImageGear22.Art Assembly > ImageGear.ART Namespace : ImGearARTButton Class |
'Declaration Public Class ImGearARTButton Inherits ImGearARTMark
'Usage Dim instance As ImGearARTButton
public class ImGearARTButton : ImGearARTMark
public __gc class ImGearARTButton : public ImGearARTMark
public ref class ImGearARTButton : public ImGearARTMark
// 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);
' Setup rectangle for the text mark's location. Dim igRectangle As New ImGearRectangle(10, 10, 100, 40) ' Setup color for the text. Dim igRGBQuadText As New ImGearRGBQuad(40, 40, 200) ' Setup color for the fill. Dim igRGBQuadFill As New ImGearRGBQuad(200, 200, 200) ' Create the button annotation. Dim igARTButton As New ImGearARTButton( _ igRectangle, "ImGearARTButton annotation", igRGBQuadText, _ igRGBQuadFill, 255, "Arial", CSng(14), ImGearARTFontStyles.Regular) ' Add the annotation to the ARTPage. igARTPage.AddMark(igARTButton, ImGearARTCoordinatesType.IMAGE_COORD)
System.Object
ImageGear.ART.ImGearARTSelection
ImageGear.ART.ImGearARTMark
ImageGear.ART.ImGearARTButton