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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Build error when call TImageEnProc::TextOut

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
adisonx Posted - Jul 20 2015 : 02:11:38
I want to show text on my image and here is my code:
String text1 = "Test";
String font = "TH Sarabun New";
TFontStyles fs;
fs << fsBold ;
this->ImageEnView->Proc->TextOut(PixelWidth+10,5,text1,font,32,clBlack,fs ,0,True);

Compile just fine ,but when I build the project ,It 's show error :

[ilink32 Error] Error: Unresolved external '__fastcall Imageenproc::TImageEnProc::TextOutW(int, int, System::UnicodeString, System::UnicodeString, int, System::Uitypes::TColor, System::Set<System::Uitypes::TFontStyle, 0, 3>, int, bool)' referenced from C:\USERS\ADISON\DOCUMENTS\EMBARCADERO\STUDIO\PROJECTS\WIN32\DEBUG\IMAGECLIENTMAIN.OBJ

How can I resolve this problem (ImageEn 5.2.0 and XE7).




2   L A T E S T    R E P L I E S    (Newest First)
adisonx Posted - Jul 21 2015 : 22:19:16
Thank you. It 's done.
xequte Posted - Jul 20 2015 : 21:07:13
Hi

I can't see any good reason why that should be occuring, but the TextOut code does not do anything too technical (Basically a Canvas.TextOut) so you might just want to replicate its code by calling ImageEnView1->Canvas->TextOut() instead.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com