// 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);