Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 15 APR 2009 02:22:16AM Patrick McCann wrote:

Hi, I was hoping someone here can help me with the following. I am trying to determine the number of characters (printed at a particular font size) that will fit in a column based on twips. As an example, if I have a column length set at 1440 twips (1 inch) and my font is set to Arial 6 how many characters can I fit into the column. If someone can pass along a formula, or if this functionality is already incorporated into OI and I missed I would appreciate any help. Thank you, Patrick


At 15 APR 2009 04:03AM dbakke@srpcs.com's Don Bakke wrote:

Pat,

If you are working with the OIPI then I suggest using the CALCTEXT message. If you doing something else then you should use the TEXTRECT service of the Utility function.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 15 APR 2009 08:24AM Sean FitzSimons wrote:

Patrick,

Don is correct, the CALCTEXT/CALCTABLE/CALCMAXLEN messages are used to determine size within OIPI. The Help has examples on their use.

Sean


At 15 APR 2009 11:39AM Patrick McCann wrote:

Thank you both Don and Sean. I started to look at these late last night and will pick it up again this evening. Now I know I am going in the right direction.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/29b9b35a424b1141852575990022ff72.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1