'We assume that the GdViewer1 control has been properly integrated.
Sub buttonAddConnectedLines_Click(ByVal sender As Object, ByVal e As EventArgs)
GdViewer1.AddConnectedLinesAnnotInteractive(Color.FromArgb(255, 138, 43, 226), 0.1F, 0.75F)
If GdViewer1.GetStat() <> GdPictureStatus.OK Then MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddConnectedLinesAnnotInteractive")
End Sub
//We assume that the GdViewer1 control has been properly integrated.
void buttonAddConnectedLines_Click(object sender, EventArgs e)
{
GdViewer1.AddConnectedLinesAnnotInteractive(Color.FromArgb(255, 138, 43, 226), 0.1f, 0.75f);
if (GdViewer1.GetStat() != GdPictureStatus.OK) MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddConnectedLinesAnnotInteractive");
}