Concatenate rtf string array for print preview

Posted by: scadavantagesupport on 8 November 2017, 11:09 am EST

    • Post Options:
    • Link

    Posted 8 November 2017, 11:09 am EST

    I have an array of strings containing rtf documents. I want to concatenate them together with a separator line and display them in a print preview dialog. I was thinking of creating a window with a C1RichTextBox in Print mode for the preview with a custom toolbar. I’m just not sure how to concatenate the rtf strings. FormatPaste might be an option.

  • Posted 9 November 2017, 12:49 am EST

    Hi,

    As per the understanding of your requirement, you wish to merge two files(present in the form of string) into one string and then load that resultant in the print preview.

    If it is so, then it a general requirement and searching over the google, I found the following article: http://anhl3.blogspot.in/2011/02/trick-of-processing-rtf-files.html

    Could you please following the approach mentioned in above article and let us know if it works/does not work.

    Thanks,

    Ruchir Agarwal

  • Posted 9 November 2017, 5:11 am EST

    Yes, that helps. I thought maybe the controls would have some kind of Append function but we can do it manually…

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels