ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Drawing text at an angle in ImageEnVect
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

john_siggy@yahoo.com

USA
158 Posts

Posted - Nov 27 2016 :  16:33:21  Show Profile  Reply
I would like the text: "Demo Program" to appear diagonally on a ImageEnVect1. How can this be done? Thanks...

w2m

USA
1990 Posts

Posted - Nov 27 2016 :  16:58:23  Show Profile  Reply
Set the text angle with TImageEnVect.ObjFontAngle:
ImageEn, unit ievect

TImageEnVect.ObjFontAngle

Declaration
property ObjFontAngle[hobj: integer]: double;

Description
ObjFontAngle is the rotation angle of iekTEXT object hobj. The angle is in degrees (positive values rotate counter clockwise).

hobj is the ID of the object. You can also specify IEV_NEXT_INSERTED_OBJECT (-1) which refers to the next object to be inserted or IEV_PREVIOUS_INSERTED_OBJECT (-2) for the last object inserted.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: