Hi,
Because I cannot exceed an screen height corresponding to 12 lines Times New Roman, size 14, in my RichViewEdit, is it a way to shrink the fonts of the text ? So text with 15 lines may contain in the expected space (if text becomes Times New Roman 12 or 11 maybe).
Thank you
Shrink the text
-
- Site Admin
- Posts: 17602
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Shrink the text
Do you want to change text size dynamically? I.e., make text in long documents smaller, and in short documents larger?
If yes, the simplest way is not changing font size, but apply zooming, by changing DocumentPixelsPerInch property.
Smaller values make text smaller.
After changing this property, call Reformat.
If yes, the simplest way is not changing font size, but apply zooming, by changing DocumentPixelsPerInch property.
Smaller values make text smaller.
After changing this property, call Reformat.