Skip to content

Visualforce To PDF

A simple utility for displaying Visualforce based PDF documents.

Available in: App Page · Home Page · Record Page · Flow Screen

iframe

Attributes

NameTypeDefaultDescription
heightstring'500px'Specifies the height of the PFD viewer. Default height is 500 pixels.
urlstring''Specifies the Visualforce Page address of the document to be displayed.
widthstring'100%'Specifies the width of the PFD viewer. Default width is 100 percent.

Usage

html
<c-visualforce-to-pdf url="/apex/AccountDetails" height="800px"></c-visualforce-to-pdf>

The url attribute takes the relative address of a Visualforce page that is rendered as PDF (renderAs="pdf").

Released under the MIT License.