Difference between revisions of "Webview"
From Lianjapedia
Helen.george (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 40: | Line 40: | ||
|Forward||None||Go forward one page | |Forward||None||Go forward one page | ||
|- | |- | ||
− | |Print|| | + | |valign="top"|Print |
+ | |valign="top"|printername as Character, orientation as Character, format as Character, filename as Character, papersize as Character, numcopies as Numeric<br> | ||
+ | |valign="top"|Print page<br> | ||
+ | printername -- get this using [[APRINTERS()]] or [[GETPRINTER()]]<br> | ||
+ | orientation -- "Landscape" or "Portrait"<br> | ||
+ | format -- "Native", "PDF" or "PostScript"<br> | ||
+ | filename -- output filename if "PDF" format<br> | ||
+ | papersize -- any of the following as a string: A4, Legal, Letter, etc<br> | ||
+ | numcopies -- number of copies to print | ||
|- | |- | ||
|Reload||None||Reload current page | |Reload||None||Reload current page |
Revision as of 12:50, 12 November 2013
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Html | R | Character | HTML text to be rendered |
Password | RW | Character | Password for URL |
RefreshInterval | RW | Numeric | Interval in seconds that the content will be refreshed |
Url | RW | Character | URL to be rendered |
Username | RW | Character | Username for URL |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
Back | None | Go back one page |
Clear | None | Clear page |
Evaluate | text as Character | Evaluates the JavaScript in text and returns the result of the last executed statement |
Forward | None | Go forward one page |
printername as Character, orientation as Character, format as Character, filename as Character, papersize as Character, numcopies as Numeric |
Print page printername -- get this using APRINTERS() or GETPRINTER() | |
Reload | None | Reload current page |
Stop | None | Stop loading page |
Write | text as Character | Output the specified text |
WriteTag | tag as Character, text as Character | Output the specified text, tagged with the specified tag |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|---|---|
linkClicked | link as Character | Occurs after link is clicked (not called if showdocument link: 'app:', 'page:', 'section:', 'recital::', 'vfp:', 'python:', 'php:' or 'jscript:') |