BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Excel Automation: How to find out if the text will fit in th

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Viktor
Guest





PostPosted: Tue Nov 25, 2003 3:23 pm    Post subject: Excel Automation: How to find out if the text will fit in th Reply with quote



Hi everybody,
I am working with excel file from Delphi. What I need to do, is to
change font for a spreadsheet to Courier New (fixed font). The problem
is that this font is generally larger then, say, Times New Roman. So
the text that looked OK in the cell does not fit there anymore, if
adjusted cell contains any data.

I would like to know if there is a way to know that part of the cell's
text will not be visible (will be kind of trancated). I understand,
that the whole text is still there, but the next step I am doing is
saving excel file as "space delimited", so only visible part is being
saved to text file.

Any help or suggestion will be greatly appreciated.

Victor
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.