#1 2016-01-21 18:24:20

jeanmilost
Member
Registered: 2016-01-21
Posts: 35

Cropping text with ellipsis

Hello,

It exists a flag inside the Windows TextOut() function to add ellipsis at the end (or on the middle of) a cropped text. E.g. if I have the text: "This is a demo text", and if there is only enough space to draw the text until "demo", the text will be shown in the following manner: "This is a d...", or "This ...o text" if the ellipsis are configured to be on the middle of the text. I wish to know if there is a similar property when text is drawn using the TextOut() function of the TPdfCanvas.

Regards

Last edited by jeanmilost (2016-01-21 18:24:45)

Offline

#2 2016-01-22 08:34:52

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Cropping text with ellipsis

Any input patch is welcome!

Offline

Board footer

Powered by FluxBB