'We assume that the GdViewer1 control has been properly integrated.
Sub buttonAddLine_Click(ByVal sender As Object, ByVal e As EventArgs)
GdViewer1.AddLineAnnotInteractive(Color.BlueViolet, 0.15F, System.Drawing.Drawing2D.LineCap.Triangle, System.Drawing.Drawing2D.LineCap.ArrowAnchor, 0.75F)
If GdViewer1.GetStat() <> GdPictureStatus.OK Then MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddLineAnnotInteractive")
End Sub
//We assume that the GdViewer1 control has been properly integrated.
void buttonAddLine_Click(object sender, EventArgs e)
{
GdViewer1.AddLineAnnotInteractive(Color.BlueViolet, 0.15f, System.Drawing.Drawing2D.LineCap.Triangle, System.Drawing.Drawing2D.LineCap.ArrowAnchor, 0.75f);
if (GdViewer1.GetStat() != GdPictureStatus.OK) MessageBox.Show("Error! Status: " + GdViewer1.GetStat().ToString(), "AddLineAnnotInteractive");
}