<< Go Commands << Go Home

Command @pdf

Description:

Inserts a pdf in page.
 
Warning: command only works inside a .tg9 file.

Syntax:

@pdf
@@src
@@width
@@height
@@buttontext
@end_pdf

Parameters:

Param @@src
description: path to audio file
options:
default:
optional: no
Param @@width
description: pdf width
options: px, %
defualt: 1000px
optional: yes
Param @@height
description: pdf height
options: px, %
default: 480px
optional: yes
 
Param @@buttontext
description: pdf button text (mobiles only).
options:
default: "View / Download PDF Document"
optional: yes
 
Obs: parameters can be put in any line order

Example:

1 @pdf
2 @@src demo.pdf
3 @@width 50%
4 @@height 480
5 @@buttontext demo.pdf
6 @end_pdf

Output: