LEADTOOLS Support
General
LEADTOOLS SDK Examples
How To: Size Text Annotations To Their Content
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, February 25, 2011 9:34:54 AM(UTC)
Groups: Tech Support
Posts: 366
Thanks: 1 times
Was thanked: 4 time(s) in 4 post(s)
Attached is a VS 2008 C# project using the LEADTOOLS version 17 SDK illustrating the LEADTOOLS Automated Annotations. This example also allow the user to enter in a text string and press a button which will create a AnnTextObject with the provided string as the text. It will write the text with a Font size of 36, and in Arial. It then uses the .NET MeasureString method to determine how much space would be required for displaying that string, and set the annotation to that size.
Walter Bates
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
LEADTOOLS SDK Examples
How To: Size Text Annotations To Their Content
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.