• JMap.Application.Print.isOrientationPortrait

    Returns true if the print layout is portrait, else false (landscape).

    Returns boolean

    Example

    // returns true if the print layout is portrait, else false (landscape)
    JMap.Application.Print.isOrientationPortrait()