Search Results for

    Show / Hide Table of Contents

    Dynamic layout

    It is necessary often to print a text whose size is not known when creating a report. For example, this can be a description of goods. In this case, the following tasks will need to be solved:

    • calculate the height of the object, such that it encloses the whole text;
    • calculate the height of the band, such that it encloses the object with a variable amount of texts;
    • move or change the height of other objects, which are contained on the band, such that, they do not disturb the general design of the report.

    These tasks can be solved by using some object and band properties:

    • CanGrow and CanShrink properties allow calculating the height of the object automatically;
    • ShiftMode property allows moving objects that are located under the objects that expand;
    • GrowToBottom property allows resizing an object to the bottom edge of the band;
    • Anchor and Dock properties allow controlling the size of objects depending on the size of the band.

    All these properties will be looked at below.

    Back to top © 1998-2025 Copyright Fast Reports Inc.