Class: VisualforceToPdf

VisualforceToPdf

A simple utility for displaying Visualforce based PDF documents.
Source:
Example
<c-visualforce-to-pdf url="/apex/AccountDetails" height="500px" width="100%"></c-visualforce-to-pdf>

Extends

  • LightningElement

Members

height :string

Specifies the height of the PFD viewer. Default height is 500 pixels.
Type:
  • string
Default Value:
  • '500px'
Source:

url :string

Specifies the Visualforce Page address of the document to be displayed.
Type:
  • string
Default Value:
  • ''
Source:

width :string

Specifies the width of the PFD viewer. Default width is 100 percent.
Type:
  • string
Default Value:
  • '100%'
Source: