http://www.trichview.com/support/files/fixedstyles.zip
A very simple demo showing how to work with a fixed set of text and paragraph styles.
The main setting in this demo: right click RichViewEdit1 in Delphi, choose "Settings" in the popup menu. You will see that mode is "Use a predefined set of styles".
This demo uses a fixed set of text and paragraph styles. You can load or paste RTF file in the demo, you will see that RTF formatting will be converted to the most similar available style.
The only way of modifying formatting in this demo is changing some style font's using "Edit Style" button.
Changes are not saved in this demo. You can save styles using RVStyle1.SaveINI or RVStyle1.SaveReg methods.
[Demo] Working with a fixed set of styles
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: