Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, February 17, 2010 4:48:33 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


In order to create a new AnnRectangle object with the minimum bounding rectangle you need to use the System.Drawing.Graphics.MeasureString function.  Attached is a simple C# 2005 example using LEADTOOLS 16.5's .NET interface that shows how to do this and account for other variables such as using a pen.
File Attachment(s):
NET - v16 - Add AnnTextObject Minimum Size.zip (12kb) downloaded 25 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.076 seconds.