ScaleToFit
(boolean) Whether to scale the page to fill as much of the printed page as possible while preserving the aspect ratio of the page.
VALUE DESCRIPTION |
|
true |
Scale the page to fill the printed page. (Default) |
false |
Print the page at a 1:1 ratio. |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Page.Redraw
OverviewExamples
Page.Redraw ( )
De s cr ip t ion
Causes the current page to redraw itself.
Note: This will also redraw all of the objects on the current page.
P arame t er s
None.
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Page.SetFocus
OverviewExamples
Page.SetFocus ( string ObjectName )
De s cr ip t ion
Sets focus to an object on the current page.
Note: Focus can only be set for QuickTime, Flash, xButton, CheckBox, RadioButton, Input, ComboBox, ListBox, Tree, Grid, and RichText objects. It may also apply to various types of plugin objects that support focus.
P arame t er s
ObjectName
(string) The name of the object.
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
Page.SetObjectScript
OverviewExamples
Page.SetObjectScript ( string ObjectName,
string EventName,
string Script )
De s cr ip t ion
Sets the script on an object's event.
Note: This action applies to objects on the current page only. To set script for an object on page 2, your application must be displaying page 2.
P arame t er s
ObjectName
(string) The name of the object whose script you want to set.