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 : Tuesday, August 28, 2007 10:20:58 AM(UTC)
keithway

Groups: Registered
Posts: 29


Simple Question... say I have an AnnNoteObject... how to I find out it's System.Drawing.Color values for the actual object (Brush im guessing) and also the Font Color?

Im using LT v14.5 for .NET (VB)

Thanks
 

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 : Wednesday, August 29, 2007 1:01:45 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

You can get the color of the AnnNoteObject as follows:
+---------+
Dim MyBrush As AnnSolidBrush
MyBrush = AnnNoteObject.Brush
MessageBox.Show(MyBrush.Color.Name)
+---------+

Also, you can get and set the text color of the AnnNoteObject font by using the AnnNoteObject.TextColor property.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#3 Posted : Wednesday, August 29, 2007 5:23:38 AM(UTC)
keithway

Groups: Registered
Posts: 29


Thanks! Worked just fine... I thought it was kind of odd that there was no accessor for the color property but it wasnt showing up in intellesense for some reason.
 
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.040 seconds.