Hi ,
I have a problem about the gdviewer, how can I edit the attribute of selected object draw on the image, such as set bold of text ,font color. I know the control AnnotationEditor is ok, but what I want is modify via code.
Anyone knows this, thanks in advance
How to set the attribute of objects draw on the image
Re: How to set the attribute of objects draw on the image
Hello,
To modify annotation by code you have to use the AnnotationManager class. You can create such object using the standard constructor or get the one used by a GdViewer object (for synchronization purpose) by calling the GdViewer.GetAnnotationManager() method.
Let me know if you need a particular code snippet.
With best regards,
Loïc
To modify annotation by code you have to use the AnnotationManager class. You can create such object using the standard constructor or get the one used by a GdViewer object (for synchronization purpose) by calling the GdViewer.GetAnnotationManager() method.
Let me know if you need a particular code snippet.
With best regards,
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests