Use this method to render the PDF.
The output is a rendition of the current Doc.Rect of the current
Any page rotation specified in the PDF page is applied so that
the output render is the correct orientation. This may mean that
the output width and height are transposed copies of the width and
height as specified in the Doc.Rect.
The file path extension determines the format of the output. The
file name extensions which may be used are .TIF, .TIFF, .JPG, .GIF,
.PNG, .BMP, .JP2, .EMF and .PS. JP2 is used for the JPEG 2000
format. EMF is a vector rather than raster format, which can be
useful when you require resolution independence and smaller files.
PS is PostScript-compatible raw vector output.