Solved

How to enter pagination into RichEdit

Posted on 1998-08-14
1
442 Views
Last Modified: 2013-11-22
Is there a possibility to show page breaks in a richedit text?
0
Comment
Question by:atss
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 8

Accepted Solution

by:
ZifNab earned 100 total points
ID: 1362091
Hi atss,

The RTF tag for a page break is \page, but because of the limited subset of RTF in the richedit component, the problem can be that it is not recognized as a tag bus as simple text. You could probably insert it from the clipboard but before you                 invest any time into that you should run a little test: Create a small testfile with a hard pagebreak in Word or your favourite word processor, save it as RTF, load it into a rich edit control and print it. Is the page break there or not?

I believe it's not implemented in richedit control, so it's not possible.

Zif.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
can't find the executable in Simulator 1 112
tvirtualstringtree freeze when load too manny images 10 80
Graphics32 under Delphi 10.1 Berlin 2 128
RESTRequest Parameter 4 54
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question