Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Multiple page design layers

edited April 2013 in General
Hi,

In addition to previous mail regarding design layers.

I created 2 page style design layers.

a) the letter head used on the first page only
b) the letter head used on all pages

Address information is printed in a). A logo is part of b). By
overlaying the 2 layers I can emulate the 2 kind of pre printed paper
this company uses, when printing to pdf.

The idea is to setup the pagestyle property for these individual layers
so a) has PageStyle.PageSetting := psFirstPage and b) has
PageStyle.PageSetting := psAll to control the visibility of the layers.

How can I control the visibility of the individual layers to achieve above?


Kind regards,

Jeroen Röttink
JR-soft software solutions.

Comments

  • edited April 2013
    A report can have a single PageStyle band, which can have multiple
    DesignLayers.

    Adding the ability to control component visibility at the DesignLayer level
    is on the ToDo list.

    For now, there is a DesignLayer.GetComponents(aComponents: TList) method you
    could use to write a utility function to control the visibility.

    Thanks again for the feedback.


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2013
    Thanks Nard. I'll create a RAP passthru.

    Op 16-4-2013 21:32, Nard Moseley (Digital Metaphors) schreef:


    --
    Kind regards,

    Jeroen Röttink
    JR-soft software solutions
This discussion has been closed.