Loading...

AnnotationFreeHandHighlighter

Support for GdPicture XMP Annotations Plugin.

AnnotationFreeHandHighlighter

Postby 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
TraceApps
 
Posts: 3
Joined: Thu Jan 05, 2012 4:55 am

Re: AnnotationFreeHandHighlighter

Postby 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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4445
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: AnnotationFreeHandHighlighter

Postby 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.
TraceApps
 
Posts: 3
Joined: Thu Jan 05, 2012 4:55 am

Re: AnnotationFreeHandHighlighter

Postby 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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4445
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: AnnotationFreeHandHighlighter

Postby TraceApps » Thu Jan 05, 2012 11:49 pm

Thank you...have you released a change history on your forums yet?
TraceApps
 
Posts: 3
Joined: Thu Jan 05, 2012 4:55 am

Re: AnnotationFreeHandHighlighter

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

Sorry for the delay. See: announcements/gdpicture-net-new-release-t3455.html

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4445
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture XMP Annotations Plugin

Who is online

Users browsing this forum: No registered users and 1 guest