2.2.4.33.17 Page::Refresh

Description

Refresh the page.

Syntax

void Refresh( BOOL bRedraw = FALSE )

Parameters

bRedraw
[input]Flag indicating whether or not the internal drawing cache is to be destroyed and recreated (TRUE) or simply repainted using existing cache (FALSE, default).

Return

Examples

EX1

int Page_Refresh_ex1()
{
    // Assumes GraphPage is active
    GraphPage gp = Project.Pages();
    if( gp )
        gp.Refresh(TRUE); // Slow refresh, redraw everything from data
    return 0;
}

Remark

See Also

Header to Include

origin.h