• JMap.Application.Print.setFileType

    Sets the type of file used when downloading the print.

    Parameters

    Returns void

    Throws

    if fileType is not correct

    Example

    // set the layout as portrait
    JMap.Application.Print.setFileType("pdf")