This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, February 27, 2008 1:46:29 AM(UTC)
Groups: Registered
Posts: 14
Hi,
I need to set the following for a text and should be pasted on an image.
Can you please send an example??
font name
Font size
Font color
Text location
Text angle (rotation?)
Text
I have ImagePro 15 version. I need a c# example
Regards
Ravi Kumar P
#2
Posted
:
Wednesday, February 27, 2008 7:31:01 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Ravi,
If you want the text to be in a
separate object above the image, you can use our text annotation object
(available to owners of LEADTOOLS Document Imaging and higher toolkits). For
more information, see the Using Text in Annotation Objects topic in the help file.
If you want to draw text on the
image itself and make it part of the pixel data, you can use .NET Graphics
drawing functions such as Graphics.DrawString to draw on the image itself. To
do that, you will need the RasterImage.CreateGdiPlusGraphics() method. For
details, please see the CreateGdiPlusGraphics Method topic in our .NET help
file, and refer to Microsoft .NET documentation for information about drawing
text.
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.