in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Overlay method

Last post 03-19-2008 2:18 PM by C1_Dima. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-18-2008 12:33 PM

    Overlay method

    Will you please send the example code for C1PrintDocument.PageLayout.Overlay method?

    What I want is the same functionality as startoverlay in vsprinter. I would like to go back to specific page and change the page content after the document is generated.

  • 03-18-2008 4:49 PM In reply to

    Re: Overlay method

    I do not think you need to use overlay for this. It is much easier and generally a better idea to simply change the content directly, and then re-generate the document. I've attached a sample showing how to e.g. replace a certain text in the document with some other text, it should be clear enough how to use that approach for specific needs.

    Cheers,
    Dima.
  • 03-19-2008 10:31 AM In reply to

    Re: Overlay method

    Thanks, it did work. But will you please send me the example code for Overlay method?

  • 03-19-2008 2:18 PM In reply to

    Re: Overlay method

    Here is a sample. Note that overlay and watermark are almost identical - the only difference is that while watermark is rendered under the document body, overlay is rendered over it.

    Cheers,
    Dima.
Page 1 of 1 (4 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.