Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Following meta tags are introduced in template file to define page size and orientation which are used for downloading certificates (Download Certificates > By Course Offering)
It is recommended to use these tags in the head section of cshtml file which ensures pdf is rendered in proper size and orientation. If these tags are not found/invalid default configuration is considered.

  • pageSize: Size of the page rendered PDF (A4 or Letter)

  • pageOrientation: Size Orientation of the page rendered PDF (Portrait or Landscape)

Code Block
<meta name="pageSize" content="Letter">
<meta name="pageOrientation" content="Landscape">