how to compress text in report text field

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dev kamal
    New Member
    • Aug 2017
    • 5

    how to compress text in report text field

    For example, when length of an item's name is big enough, it is not shown completely in invoice printing of the access. what is code to compress/reduce font size in that particular cell of the invice printing. kindly suggest.
    Last edited by dev kamal; Aug 29 '17, 03:59 PM. Reason: small addition
  • PhilOfWalton
    Recognized Expert Top Contributor
    • Mar 2016
    • 1430

    #2
    Seehttp://www.lebans.com/autosize_textbox.htm

    and particulatly http://www.lebans.com/textwidth-height.htm
    which I have used on a number of occasions

    Phil

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32633

      #3
      I find it quite extraordinary, at this stage of the game, that there isn't an O/S routine that can accurately return how wide (and even how high) is the space taken up by specified text using specified font(s). Unfortunately that isn't provided so we have to use the excellent work that Stevan Lebans has contributed (See Phil's links).

      Comment

      Working...