public Blob getContent()
Type: Blob
The content of the returned Blob depends on how the page is rendered. If the page is rendered as a PDF file, it returns the PDF document. If the page is not rendered as PDF, it returns HTML. To access the content of the returned HTML as a string, use the toString Blob method.
If the Visualforce page has an error, an ExecutionException is thrown.