I have created a script where in Google Sheet is converted to PDF and sent in an email (via Gmail API).
Please find the below syntax which is used to convert sheet to PDF
var blob=DriveApp.getFileById(<<Google Sheet ID>>).getAs('application/pdf');
what can be done to find out the size of the blob here?