Eg:
GdPicture.AnnotationManager oAnnotationManager = new GdPicture.AnnotationManager();
if (oAnnotationManager.InitFromGdViewer(gdViewer) == GdPicture.GdPictureStatus.OK)
{
- GdPicture.AnnotationText annotText = oAnnotationManager.AddTextAnnot(float.Parse(getInfo("Left")), float.Parse(getInfo("Top")), float.Parse(getInfo("Width")), float.Parse(getInfo("Height")), getInfo("Text"));
annotText.CanMove = bool.Parse(getInfo("CanMove"));
annotText.CanResize = bool.Parse(getInfo("CanResize"));
annotText.CanRotate = bool.Parse(getInfo("CanRotate"));
annotText.FontName = getInfo("FontName");
annotText.FontSize = float.Parse(getInfo("FontSize"));
annotText.FontStyle = FontStyle.Regular;
annotText.ForeColor = Color.Black;
oAnnotationManager.SaveAnnotationsToPage();