'We assume that the GdViewer1 control has been properly integrated.
Sub buttonAddRedactionMark_Click(ByVal sender As Object, ByVal e As EventArgs)
GdViewer1.AddRedactionAnnotInteractive(Color.Black)
If GdViewer1.GetStat() <> GdPictureStatus.OK Then MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddRedactionAnnotInteractive")
End Sub
//We assume that the GdViewer1 control has been properly integrated.
void buttonAddRedactionMark_Click(object sender, EventArgs e)
{
GdViewer1.AddRedactionAnnotInteractive(Color.Black);
if (GdViewer1.GetStat() != GdPictureStatus.OK) MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddRedactionAnnotInteractive");
}