Adjust Annotation size from code

Example requests & Code samples for GdPicture Toolkits.
Post Reply
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.

Posts: 436
Joined: Wed Nov 22, 2017 9:52 am

Re: Adjust Annotation size from code

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


Please find an example here: ... Annot.html
You can change all required annotations properties right after adding an annotation.
Kind regards,

GdPicture Team

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests