RTF Code Generator 控件提供了一個簡單且免費的、可以在應用程序中生成 RTF 代碼的方法。現在,用戶無需熟悉 RTF 規范,就可以創建復雜的 RTF 文檔。
The RTF Code Generator control offers a simple and hassle free method of generating RTF code within your application. Now you do not need to be familiar with RTF specifications to be able to create sophisticated RTF documents.
RTF Code Generator并不是一個 RTF 編輯控件。因此,它不需要窗口創建以及 RTF 編輯控件的內部數據管理開銷。RTF Code Generator 是生成 RTF 代碼最高效的方法。與 RTF 編輯控件相比,它能夠把 RTF 文檔創建時間降低為原來的 10 倍。
RTF Code Generator 支持以下 RTF 文檔特征:
Code Output: 可以把 RTF 代碼寫入磁盤文件或者內存緩沖器中。還可以直接把從內存緩沖器中檢索的 RTF 數據加載到如 TE Edit Control 的 RTF 編輯控件中。
RTF Code Generator is not an RTF edit control. Therefore, it does not require the overhead of window creation and internal data management of an RTF edit control. RTF Code Generator is the most efficient method of generating RTF code. It can reduce the RTF document creation time by as much as 10 times compared to an RTF edit control.
RTF Code Generator supports the following RTF document features:
- Fonts, point-size, various character styles and colors.
- Paragraph formatting features such as centering, justification, indentation, border, shading/color, tabs, etc.
- Embedded and linked graphics.
- Headers/footers.
- Table.
- Frames.
- Drawing objects such as text box, line and rectangle.
- Stylesheet.
- Multiple columns.
- Section and document control parameters.
Code Output: The RTF code can be written to a disk file or it can be retrieved in a memory buffer. The RTF data retrieved in a memory buffer can be loaded directly into an RTF edit control such as TE Edit Control .