Hi Developers of Gdpicture,
Please help me. I need the help. I also created a ticket but no body is replying.
I want to add annotations to gdviewer without using mouse. Right now I have to drag the mouse to add any annotations.
Example: GdViewer.AddEmbeddedImageAnnotInteractive("TD.png", false, Colors.White, 0.02f, 1);
But I want to be able to put the annotations on the pdf without dragging the mouse. once the annotation is on screen then only I will resize it or move it to another place if I want.
Thanks.
Add annotations withtout using mouse?
Re: Add annotations withtout using mouse?
Hi,
Your can do that by using the annotation manager attached to the viewer using the GetAnnotationManager() method. So you will be able to add any kind of annotation by code. For example:
With best regards,
Loïc
Your can do that by using the annotation manager attached to the viewer using the GetAnnotationManager() method. So you will be able to add any kind of annotation by code. For example:
Code: Select all
GdViewer1.GetAnnotationManager().AddEllipseAnnot([Your parameters go here]);
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests