Adjust Annotation size from code

Example requests & Code samples for GdPicture Toolkits.
Post Reply
rromeijn
Posts: 28
Joined: Fri Jun 18, 2010 4:21 pm

Adjust Annotation size from code

Post by rromeijn » Thu Sep 05, 2013 9:48 am

How do i adjust the size and/or position of an annotation by code (after the annotation is placed on the image)
i tried this

Code: Select all

L:=*GdViewer1.GetAnnotationManager.GetAnnotationPropertyValue(AnnotationIdx, 'Left');
GdViewer1.GetAnnotationManager.SetAnnotationPropertyValue(AnnotationIdx, 'Left', L+1);
But it does not work.

Gabriela
Posts: 439
Joined: Wed Nov 22, 2017 9:52 am

Re: Adjust Annotation size from code

Post by Gabriela » Fri Mar 29, 2019 10:52 pm

Hello,

Please find an example here:
http://guides.gdpicture.com/content/web ... Annot.html
You can change all required annotations properties right after adding an annotation.
Kind regards,

Gabriela
GdPicture Team

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest