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 : Monday, March 3, 2008 5:48:57 PM(UTC)
smckigney

Groups: Registered
Posts: 5


I am using LEAD Tools' v15 C++ Class Library with Borland's CodeGear C++ Builder 2007. I am displaying an image loaded from memory into an LBitmapWindow.

I need to output text to the image that will then become part of the image when I save it.

Can you please provide me or point me to an example that demonstrates this?

Thank you for your time,
Shannon
 

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 : Tuesday, March 4, 2008 5:45:05 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,326

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

Hello,

You need to get the HDC of the bitmap by using the LBitmapBase::CreateLeadDC method, then use Windows GDI functions, such as DrawText or TextOut to draw the Text.

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-2024, Yet Another Forum.NET
This page was generated in 0.052 seconds.