Link Search Menu Expand Document

Doc.ShowPage Method

Explanation Breaks the page and sends the page to the printer.

For a one -page document, a call to the ShowPage method prints that page. Nothing is printed unless you call the ShowPage method.

For multi-page documents, all but the last page will be printed automatically, but the last page will not be printed unless you call the ShowPage method.
Call format Doc1.ShowPage( )
Return value None
Arguments None
Exception None
Example of use
Doc Doc1 {
    Format = "A4H";
    Form Form1 {
        Width = 400;
        Height = 400;
        Label Label1 {
            Width = 80;
            Height = 30;
            Border = $TRUE;
        }
    }
    ShowPage();
    Delete();
}
    
Related item