Annotations with the bounds displayed image?

Feature Requests for GdPicture.NET.
Post Reply
MStein
Posts: 3
Joined: Tue Sep 15, 2020 3:54 pm

Annotations with the bounds displayed image?

Post by MStein » Tue Sep 15, 2020 3:57 pm

is it possible to rescrict annotations to only be placed with in the displayed image?
if so how to do so in WPF? monster

User avatar
Fabio
Posts: 39
Joined: Thu Aug 27, 2020 9:57 am

Re: Annotations with the bounds displayed image?

Post by Fabio » Wed Sep 16, 2020 5:34 pm

Hello there,

What do you mean by restrict?

At the moment, our application let the user draw outside the document, but if you save this document and open it with another editor/viewer, you will not see the outside annotations!

Best regards,
Fabio de Rose
Solution Engineer

MStein
Posts: 3
Joined: Tue Sep 15, 2020 3:54 pm

Re: Annotations with the bounds displayed image?

Post by MStein » Thu Sep 17, 2020 3:20 pm

Yes that is what i want to avoid. it should be impossible to annotate a document outside its bounds. is there a way to limit the annotation area beforehand?

Hugo
Posts: 77
Joined: Tue Dec 18, 2018 10:09 am

Re: Annotations with the bounds displayed image?

Post by Hugo » Tue Oct 06, 2020 4:15 pm

Hi MStein,

Thank you for your request. We currently have this feature on our to-do list.

We will consider implementing this. How is this causing issues for you as you can simply avoid drawing annotations outside the page boundaries?
Additionally you can fit the page size to the viewer which would prevent you from drawing annotations outside the page boundaries if you are using the interactive methods for drawing annotations.

Feel free to let me know why you would need this?

Regards,

MStein
Posts: 3
Joined: Tue Sep 15, 2020 3:54 pm

Re: Annotations with the bounds displayed image?

Post by MStein » Thu Oct 15, 2020 4:15 pm

Hey Hugo

i've found a way to ristrict that annotation area, after annotations is placed however it is not the ideal solution.
the reason is when you annotate a picture or a pdf and then burn the annotation and then export the file, the part of the annotation that was outside the bounds of the file is not there anymore ofc.

then i simply wanted a boolean to limit the area to only allow annotation inside picture or pdf bounds, and still keep the responsiveness by fitting content to viewer.

Jojoshua
Posts: 8
Joined: Fri Feb 01, 2019 4:15 pm

Re: Annotations with the bounds displayed image?

Post by Jojoshua » Fri Oct 16, 2020 1:54 am

We ran into this as well and would like a solution

JasJ21
Posts: 5
Joined: Sat Oct 31, 2020 2:49 pm

Re: Annotations with the bounds displayed image?

Post by JasJ21 » Sat Oct 31, 2020 6:04 pm

Good to know that the feature is coming in the future! It's so far the only issue I ever had with GdPicture, I'm entirely satisfied with everything else and adding it will make a lot of happy customers.

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

Re: Annotations with the bounds displayed image?

Post by Loïc » Sun Nov 01, 2020 6:33 pm

Should be available within one or two weeks guys!

User avatar
Fabio
Posts: 39
Joined: Thu Aug 27, 2020 9:57 am

Re: Annotations with the bounds displayed image?

Post by Fabio » Thu Nov 05, 2020 1:25 pm

Hello,

This feature is now available!

It is managed with the boolean property ClipAnnotsToPageBounds.
You will find the documentation here: https://guides.gdpicture.com/content/Gd ... ounds.html

For your information, the default value of this parameter if you don't set it in the code, is "true".

Please, let us know if this new feature is addressing your need or if you need further evolution.

Best regards,
Fabio

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest