Properties
(table) A table containing the PDF object's properties indexed by the following keys:
CONSTANT |
VALUE DESCRIPTION |
|
VIEW_PAGE |
"Fit" |
Fit entire page, both vertically and ho |
CONSTANT |
VALUE DESCRIPTION |
|
PAGE_STANDARD |
"none" |
Show document, no bookmarks o |
PAGE_BOOKMARKS |
"bookmarks" |
Show document and bookmarks. |
PAGE_THUMBS |
"thumbs" |
Show document and thumbnails. |
CONSTANT |
VALUE DESCRIPTION |
|
LAYOUT_USER_PREF |
"DontCare" |
Use the current user preference |
LAYOUT_SINGLE_PAGE |
"SinglePage" |
Show a single page. |
LAYOUT_ONE_COLUMN |
"OneColumn" |
Show one column in continuous |
LAYOUT_TWO_COLUMN_L |
"TwoColumnLeft" |
Show two columns in continuou the left. |
LAYOUT_TWO_COLUMN_R |
"TwoColumnRight" |
Show two columns in continuou right. |
KEY |
TYPE DESCRIPTION |
|
File |
string |
The PDF File (*.pdf) to load. |
ShowScrollbars |
boolean |
True if the object should show vertical and horizontal scrollbars, false if it should not. |
ShowToolbar |
boolean |
True if the object should show a toolbar, false if it should not. |
ShowBorder |
boolean |
True if the object should show a border, false if it should not. |
Layout |
string |
The layout mode to set for the page: |
Page |
string |
The page mode to set for the object: |
View |
string |
The view of the page to set within the object: |
ViewOffset |
number |
The horizontal (left), or vertical (top) offset to set based on the View setting. |
Enabled |
boolean |
True if the PDF object should be enabled, false if it should not be. |
Visible |
boolean |
True if the PDF object should be visible, false if it should not be. |
X |
number |
The horizontal position (in pixels) of the top left corner of the PDF object in relation to the |
Note: The top left corner of the current page or dialog has an X value of 0 |
||
Y |
number |
The vertical position (in pixels) of the top left corner of the PDF object in relation to the cu |
Note: The top left corner of the current page or dialog has a Y value of 0 |
||
Width |
number |
The width (in pixels) of the PDF object. |
Height |
number |
The height (in pixels) of the PDF object. |
ResizeLeft |
boolean |
True if the left side of the object should move when the application is resized, false if it sh |
ResizeRight |
boolean |
True if the right side of the object should move when the application is resized, false if it s |
ResizeTop |
boolean |
True if the top of the object should move when the application is resized, false if it should |
ResizeBottom |
boolean |
True if the bottom of the object should move when the application is resized, false if it sho |
VIEW_WIDTH |
"FitH" |
Fit the width of the page. |
VIEW_HEIGHT |
"FitV" |
Fit the height of the page. |
VIEW_BOUNDING |
"FitB" |
Fit the bounding box (visible text are horizontally. |
VIEW_BOUNDING_WIDTH |
"FitBH" |
Fit the width of the bounding box (vis |
VIEW_BOUNDING_HEIGHT |
"FitBV" |
Fit the height of the bounding box (vi |
VIEW_ACTUAL_SIZE |
"ActualSize" |
Show the document at its actual size |
Re t u r n s
Nothing. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions
PDF.SetSize
OverviewExamples
PDF.SetSize ( string ObjectName,
number Width,
number Height )
De s cr ip t ion
Sets the size of a PDF object.
P arame t er s
ObjectName
(string) The name of the PDF object.