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 : Friday, January 26, 2007 12:36:24 PM(UTC)
keithway

Groups: Registered
Posts: 29


Can someone please tell me how to change the default font size for an annotation object...

Specifically I want to change the default font size of the Note object.

(Using LeadTools .NET w/ VB)
 

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.

#2 Posted : Sunday, January 28, 2007 10:57:08 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Hello,

Do you mean that you want to change the default font size that appears in the properties dialog of the annotation object?
You can change the font of any annotation object (AnnObject) by changing the AnnObject.Font property (AnnFont).
For more information, please refer to the LEADTOOLS .Net documentation.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Monday, January 29, 2007 6:03:57 AM(UTC)
keithway

Groups: Registered
Posts: 29


I want to programmatically change the default font size of all notes... are there any settings that will allow me to do this maybe using an AnnAuto or AnnManager object? I know I can change the font of a specific object with the AnnObject.Font property but the only way that method seems of use is if I have an event that fires every time an object is drawn in which I check to see if that object is a note and then change the font if it is - but checking EVERY object seems a little overkill.
 
#4 Posted : Monday, January 29, 2007 8:39:11 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Hello,

You can only do this by changing the font for each AnnNoteObject that you create.
You need to check if the object is AnnNoteObject and then change the font property for this object.
You can check each object in the AnnContainer.BeforeDrawingObjects Event, which Occurs during drawing before the objects are drawn.

For more information, please refer to the LEADTOOLS .Net documentation.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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-2020, Yet Another Forum.NET
This page was generated in 0.047 seconds.