function initDocumentInfo(isPdf, hasSelection) {
      documentInfo = new print_preview.DocumentInfo();
      documentInfo.init(!isPdf, 'title', hasSelection);
      if (isPdf)
        documentInfo.updateFitToPageScaling(98);
      documentInfo.updatePageCount(3);
    }
/**
     * Initializes |documentInfo| with a 3 page document.
     * @param {boolean} isPdf Whether the document should be a PDF.
     * @param {boolean} hasSelection Whether the document has a selection.
     */
Initializes |documentInfo| with a 3 page document.
@param {boolean} isPdf Whether the document should be a PDF.
@param {boolean} hasSelection Whether the document has a selection.
Initializes |documentInfo| with a 3 page document . @param { boolean } isPdf Whether the document should be a PDF . @param { boolean } hasSelection Whether the document has a selection .
function initDocumentInfo(isPdf, hasSelection) {
      documentInfo = new print_preview.DocumentInfo();
      documentInfo.init(!isPdf, 'title', hasSelection);
      if (isPdf)
        documentInfo.updateFitToPageScaling(98);
      documentInfo.updatePageCount(3);
    }
function initDocumentInfo ( isPdf , hasSelection ) { documentInfo = new print_preview . DocumentInfo ( ) ; documentInfo . init ( ! isPdf , 'title' , hasSelection ) ; if ( isPdf ) documentInfo . updateFitToPageScaling ( 98 ) ; documentInfo . updatePageCount ( 3 ) ; }
Initializes |documentInfo| with a 3 page document.
Initializes |documentInfo| with a 3 page document .