LEADTOOLS Support
Imaging
Imaging SDK Questions
HOW TO: Incorporate text into an image with C++ Class Library
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, March 3, 2008 5:48:57 PM(UTC)
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
#2
Posted
:
Tuesday, March 4, 2008 5:45:05 AM(UTC)
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
LEADTOOLS Support
Imaging
Imaging SDK Questions
HOW TO: Incorporate text into an image with C++ Class Library
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.