code: function () {
              return this._pages.map(function (pageView) {
                var viewport = pageView.pdfPage.getViewport(1);
                return {
                  width: viewport.width,
                  height: viewport.height
                };
              });
            }
docs: Returns sizes of the pages.
  @returns {Array} Array of objects with width/height fields.