Search found 15 matches

by KevinLK
Thu Jan 19, 2017 11:37 am
Forum: Annotations
Topic: AutoSize property
Replies: 9
Views: 17870

Re: AutoSize property

Hi Loïc

Unfortunately i found a issue regarding AutoSize.

When I align my text in the center or right, the width of the textannotation box is not right :(

Kind regards,
Kevin
by KevinLK
Fri Jan 13, 2017 9:31 am
Forum: Annotations
Topic: AutoSize property
Replies: 9
Views: 17870

Re: AutoSize property

Hi Loïc

I have performed various test, and it works :)

Thank you very much for solving the issue so quickly.

Have i nice weekend.

Kind regards,
Kevin
by KevinLK
Mon Jan 09, 2017 9:34 am
Forum: Annotations
Topic: AutoSize property
Replies: 9
Views: 17870

Re: AutoSize property

Loïc wrote:Actually I think I've understood what the problem was. The next minor version should fix it.

Kind regards,

Loïc
Oh nice. When would that be if I may ask?

Kind regards,
Kevin
by KevinLK
Mon Jan 09, 2017 9:33 am
Forum: Annotations
Topic: AutoSize property
Replies: 9
Views: 17870

Re: AutoSize property

First off we use Fabricjs for the UI. When we then try to save the image, we add the all data to an collection, accordingly to the documentation of GdPicture (The right properties etc.) collection.Add(new AnnotationTypeTextDTO() { Id = Guid.NewGuid().ToString(), Left = ScaleAndConvertToInches(ratio,...
by KevinLK
Wed Jan 04, 2017 9:17 am
Forum: Annotations
Topic: AutoSize property
Replies: 9
Views: 17870

AutoSize property

Hi I'm currently adding annotations via XML, and bumped into some problems regarding AutoSize. If AutoSize isn't the last tag in the XML, Width and Height will be set to 0. I managed to fix that by setting AutoSize as the last tag. Now it seems though that the width and height isn't changed even tho...
by KevinLK
Wed Jan 04, 2017 8:57 am
Forum: Annotations
Topic: AddAnnotationFromXML
Replies: 13
Views: 24713

Re: AddAnnotationFromXML

Sorry for the late answer.
I managed to figuere it out.

But thanks anyway
by KevinLK
Wed Nov 23, 2016 4:15 pm
Forum: Annotations
Topic: AddAnnotationFromXML
Replies: 13
Views: 24713

Re: AddAnnotationFromXML

I just tried that, and the returned status is an GenericError. Any idear how i can debug it to get a more specific error?
by KevinLK
Wed Nov 23, 2016 3:41 pm
Forum: Annotations
Topic: AddAnnotationFromXML
Replies: 13
Views: 24713

Re: AddAnnotationFromXML

That is what im doing.

The XML i have added as a quote to this thread is one a pulled trough GetAnnotationXML
by KevinLK
Mon Nov 21, 2016 2:46 pm
Forum: Annotations
Topic: AddAnnotationFromXML
Replies: 13
Views: 24713

AddAnnotationFromXML

Hi, Im currently trying to read the annotations from a document, and burn them to a new transparent png image. The problem is though that the annotations that have been loaded with XML aren't added. If i try to add an annotation through method it works fine. Is there something wrong with the XML dat...
by KevinLK
Fri Feb 05, 2016 9:30 am
Forum: DocuVieware
Topic: Annotation properties predefined values
Replies: 5
Views: 4564

Re: Annotation properties predefined values

Oh, sorry

DocuVieware

-Kevin
by KevinLK
Wed Feb 03, 2016 9:11 am
Forum: DocuVieware
Topic: Annotation properties predefined values
Replies: 5
Views: 4564

Re: Annotation properties predefined values

Hi Loïc

A code snippet would be awesome, thank you.

Im using C#

Thanks again.

Best regards,
Kevin
by KevinLK
Mon Feb 01, 2016 3:07 pm
Forum: DocuVieware
Topic: Edit annotations
Replies: 2
Views: 3769

Edit annotations

Hi I have used the Javascript API to predefine some values, disable the pop up etc.. for instance. function addArrowAnnotation() { staticElements = { strokeColor: "#000000", stroke: true, } var enabledProperties = ["arrowHeight", "arrowWidth"]; DocuViewareAPI.AddLineArr...
by KevinLK
Mon Feb 01, 2016 2:52 pm
Forum: DocuVieware
Topic: Annotation properties predefined values
Replies: 5
Views: 4564

Annotation properties predefined values

Hi

Is there a way, that I can predefine what choice the user has when adding an annotation.

For instance, that the only font options you have are Verdana and Arial or you only have 3 different colour types to chose from?

Thank you in advance

- Kevin
by KevinLK
Tue Jan 26, 2016 12:25 pm
Forum: Annotations
Topic: Replicating annotation color else where
Replies: 2
Views: 6492

Re: Replicating annotation color else where

Ahhhh .. Thank you very much :)
by KevinLK
Wed Jan 13, 2016 5:15 pm
Forum: Annotations
Topic: Replicating annotation color else where
Replies: 2
Views: 6492

Replicating annotation color else where

Hi Im currently working on saving annotations to an XML file, so i have the ability to use them elsewhere. I discovered a problem though when saving. The value inside the color nodes doesn't make much sense to me. <StrokeColor>-65536</StrokeColor> <FillColor>-16777216</FillColor> Is there a specific...