'We assume that the GdViewer1 control has been properly integrated.
Sub buttonAddStickyNote_Click(ByVal sender As Object, ByVal e As EventArgs)
GdViewer1.AddStickyNoteAnnotationInteractive("GdPicture Annotation Sticky Note", Color.BlueViolet, "Arial", FontStyle.Regular, 14, 0.75F, 0)
If GdViewer1.GetStat() <> GdPictureStatus.OK Then MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddStickyNoteAnnotationInteractive")
End Sub
//We assume that the GdViewer1 control has been properly integrated.
void buttonAddStickyNote_Click(object sender, EventArgs e)
{
GdViewer1.AddStickyNoteAnnotationInteractive("GdPicture Annotation Sticky Note", Color.BlueViolet, "Arial", FontStyle.Regular, 14, 0.75f, 0);
if (GdViewer1.GetStat() != GdPictureStatus.OK) MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddStickyNoteAnnotationInteractive");
}