开发者

Recognizing text file Form Feeds in MigraDoc

Is there a way for MigraDoc to recognize form feeds charact开发者_JAVA百科ers that are already embedded in a ASCII text file? Or does one have to process the text file line by line to catch them?


I don't think that "form feeds" are treated as page breaks by MigraDoc automatically.

The output probably looks better if you process the text file anyway (e.g. treat single CR/LF as spaces only, treat empty lines as new paragraphs, etc.).

It could even make sense to ignore the form feeds - the text files probably weren't made for proportional fonts. If you use proportional fonts with MigraDoc (e.g. Arial), the documents could fit on a smaller number of pages.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜