Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.Reporting.v4.3 Assembly / Xceed.Grid.Reporting Namespace / Report Class / CalculateTotalPages Property


In This Topic
    CalculateTotalPages Property
    In This Topic
    Gets or sets a boolean value indicating if the total number of pages should be calculated for the TOTALPAGES variable.
    Syntax
    'Declaration
     
    Public Property CalculateTotalPages As Boolean
    'Usage
     
    Dim instance As Report
    Dim value As Boolean
     
    instance.CalculateTotalPages = value
     
    value = instance.CalculateTotalPages
    public bool CalculateTotalPages {get; set;}

    Property Value

    true if the total number of pages should be calculated for the TOTALPAGES variable; false otherwise. By default, true.
    Remarks

    If set to false and the TOTALPAGES variable is used, it will be replaced by "...".

    It is not recommended to use the TOTALPAGES variable in a large report.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also