3

RichEdit コントロールの print メソッドを使用しているときに、Delphi で改ページを強制する方法を見つけようとしています。リッチ エディット コントロールは、なんらかの愚かな理由で \page コマンドを無視します。

これを行う方法を知っている人はいますか?

4

1 に答える 1

2

Unfortunately, TRichEdit control just ignores this for the displaying box, and as far as I know, there is no way to force it to show the pages.

If the goal you want is to break pages so a printer can split it into multiple papers, as @SertacAkyuz said, in this case the \page will be parsed and the pages will be correctly printed in separate papers.

But if your goal is to display the page breaks graphically, then you'll be depending on a third-party component.

于 2012-09-18T16:17:30.983 に答える