开发者

MFC - Format rtf document to two columns

开发者 https://www.devze.com 2022-12-09 20:46 出处:网络
I am merging many rtf files into a single file for printing. In order to save paper, I would like to have the printout of the merged rtf document in two columns per page.

I am merging many rtf files into a single file for printing. In order to save paper, I would like to have the printout of the merged rtf document in two columns per page.

What is the best w开发者_JAVA百科ay to do this?


I found out a way of doing this.

  1. Load the rtf document into a CRichEditCtrl.
  2. Use the CRichEditCtrl's FormatRange method to format and render the text to different part of the paper; left column and right column in this case.
0

精彩评论

暂无评论...
验证码 换一张
取 消