RichEdit コントロールの print メソッドを使用しているときに、Delphi で改ページを強制する方法を見つけようとしています。リッチ エディット コントロールは、なんらかの愚かな理由で \page コマンドを無視します。
これを行う方法を知っている人はいますか?
RichEdit コントロールの print メソッドを使用しているときに、Delphi で改ページを強制する方法を見つけようとしています。リッチ エディット コントロールは、なんらかの愚かな理由で \page コマンドを無視します。
これを行う方法を知っている人はいますか?
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.