AnnotationFreeHandHighlighter

Discussions about annotation support.
Post Reply
TraceApps
Posts: 3
Joined: Thu Jan 05, 2012 4:55 am

AnnotationFreeHandHighlighter

Post by TraceApps » Thu Jan 05, 2012 5:05 am

Good Afternoon,

Version: GdPicture.NET Document Imaging SDK Version 8

I have notice that the Viewer you can define the width as shown below for

public AddFreeHandHighlighterAnnotInteractive(
Color BorderColor,
Single BorderWidth
);

But notice that the class AnnotationFreeHandHighlighter does not have a property to change after the fact? So how do we change this via source code and the annnotation class?

Thanks,

David

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: AnnotationFreeHandHighlighter

Post by Loïc » Thu Jan 05, 2012 3:40 pm

Hello David,

You are right this is currently impossible. We forgot to expose the BorderWidth property of the AnnotationFreeHandHighlighter class.

In the next 8.5.3 release you will be able to access it by this way:

Code: Select all

           Annotation annot = GdViewer1.GetAnnotationFromIdx(GdViewer1.GetAnnotationCount() - 1);
           if (annot.GetAnnotationType() == Annotation.GdPictureAnnotationType.AnnotationTypeFreeHandHighlighter)
           {
               ((AnnotationFreeHandHighlighter)annot).BorderWidth = 0.5F;
           }
Kind regards,

Loïc

TraceApps
Posts: 3
Joined: Thu Jan 05, 2012 4:55 am

Re: AnnotationFreeHandHighlighter

Post by TraceApps » Thu Jan 05, 2012 10:17 pm

Thank you for the update. You might wish to review the other methods for both the viewer and AnnotationManager for their are a lot of similar examples. Do you know when the next release will be for? We are looking for a rough date so that we can plan our implementation for production release.

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: AnnotationFreeHandHighlighter

Post by Loïc » Thu Jan 05, 2012 11:28 pm

Hi,

We just published the updated version.
You might wish to review the other methods for both the viewer and AnnotationManager for their are a lot of similar examples
I don't think we miss anything else now. To control annotation properties, you have to handle each annotation object as shown by the snippet.

Let me know if you need other information.

Loïc

TraceApps
Posts: 3
Joined: Thu Jan 05, 2012 4:55 am

Re: AnnotationFreeHandHighlighter

Post by TraceApps » Thu Jan 05, 2012 11:49 pm

Thank you...have you released a change history on your forums yet?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: AnnotationFreeHandHighlighter

Post by Loïc » Fri Jan 06, 2012 9:15 pm

Sorry for the delay. See: viewtopic.php?t=3455

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest