PDF View Properties
The following properties are available for PDF View objects, grouped by the categories shown in the View Property Sets editor.
Appearance
| Property | Type | Default | Description |
|---|---|---|---|
string |
The text that appears on the view tab or title bar after the view builds or refreshes. If no value is specified, the CaptionBeforeBuild value is used. If no CaptionBeforeBuild value is specified, the view name is used. The value can be tokenized, which allows the caption to reflect the current context. For example, if the view has selectors and the CaptionAfterBuild contains a token for each of the selectors, the caption after the view is built or refreshed reflects the selections represented by the view data. See also: CaptionBeforeBuild |
||
string |
The text that appears on the view tab or title bar when the view is opened and before the view builds for the first time. If no value is specified, the view name is used as the caption. The value can be tokenized. See also: CaptionAfterBuild |
Behavior
| Property | Type | Default | Description |
|---|---|---|---|
bool |
false |
Controls whether only a single instance of the view can be opened by the user from the view selector. When the setting is True, only a single instance is allowed. When the user attempts to open another instance of the view from the view selector, the existing view’s window is activated. |
|
bool |
false |
Controls whether the view can be saved by a user. If true, the Save View As and Save View button tools are enabled. |
|
bool |
false |
||
bool |
false |
Controls whether the view automatically builds when opened. If true, the view automatically builds, but only if the view is buildable. Whether or not the view is buildable is based on the view state. For instance, if a view has selectors and each selector has a selection, the view is buildable. |
|
bool |
true |
Controls whether the view automatically builds when opened. If true, the view automatically builds, but only if the view is buildable. Whether or not the view is buildable is based on the view state. For instance, if a view has selectors and each selector has a selection, the view is buildable. |
|
bool |
false |
Controls whether the view will attempt to detect whether a PDF document is an unsupported portfolio-type PDF and present the user with the opportunity to open it in an external viewer. |
| Property | Type | Default | Description |
|---|---|---|---|
string |
100% |
The default zoom level for the document to be displayed on the view’s initial build. The default zoom is specified by using a combination of the DefaultZoom and DefaultZoomMode settings. The DefaultZoom level is used, provided that the DefaultZoomMode setting is Default. See also: DefaultZoomMode |
|
ZoomMode |
ZoomMode.Default |
The default zoom mode for the document to be displayed on the view’s intitial build. Default — Displays the document based on the value of DefaultZoom setting. FitPage — Displays the document so that an entire page can be displayed in the open window. FitWidth — Displays the document so that the page fills the width of the open window. See also: DefaultZoom |
|
int |
1 |
The page of the PDF document to be displayed on the view’s initial build. |
|
string |
The SQL connection ID used to look up the metadata that defines the JDBC settings used when connecting to the relational database. |
||
string |
The SelectSQL statement is used to retrieve a blob from the relational database. The following guidelines apply: — The SELECT statement must use the native syntax supported by the database. — The statement can be tokenized. A tokenized SELECT statement is used, for instance, when the statement contains a WHERE clause that defines the search criteria for rows by including one or more selector tokens, such as “WHERE Sales.SalesOrderDetail.ProductID IN ([T.Product])” where [T.Product] is a comma-delimited list of product ID’s. The PDF file to be displayed can be specified using any of the following settings: SQLConnectionID/SelectSQL, PDFBinaryArtifact, or URL. The SQLConnectionID/SelectSQL settings take precedence, followed by the PDFBinaryArtifact setting, followed by the URL setting. When SQLConnectionID/SelectSQL settings are specified, the PDFBinaryArtifact and URL settings are not used. See also: PDFBinaryArtifact and URL |
||
string |
The URL of the internet resource or local PDF file to navigate to. The PDF file to be displayed can be specified using any of the following settings: SQLConnectionID/SelectSQL, PDFBinaryArtifact, or URL. The SQLConnectionID/SelectSQL settings take precedence, followed by the PDFBinaryArtifact setting, followed by the URL setting. When SQLConnectionID/SelectSQL or PDFBinaryArtifact settings are specified, the URL is not used. See also: SQLConnectionID, SelectSQL, and PDFBinaryArtifact |
Status Information
| Property | Type | Default | Description |
|---|---|---|---|
StatusBarContentAlignment |
StatusBarContentAlignment.Center |
Controls the alignment of the progress text within the progress text area on the status bar. ProgressTextAlign is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ShowProgressText |
|
bool |
true |
Controls whether the progress bar is displayed in the status bar when downloading. Use the ShowStatusBar setting to control whether the status bar is displayed in the view window. |
|
bool |
true |
Controls whether the progress text is displayed in the status bar. ShowProgressText is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ProgressTextAlign |
|
bool |
true |
Controls whether the status bar is displayed in the view window. See also: ShowStatusIcon, ShowStatusText, ShowProgressText, ProgressTextAlign |
|
bool |
true |
Controls whether the status icon is displayed in the status bar. ShowStatusIcon is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ShowStatusText |
|
bool |
true |
Controls whether a status icon is displayed on the view window tab. |
|
bool |
true |
Controls whether the status text is displayed in the status bar. ShowStatusText is only applicable when ShowStatusBar is true. See also: ShowStatusBar, ShowStatusIcon |
|
string |
Ready to Build |
The text displayed in the status bar to indicate the view is buildable as determined by the view state. For instance, a view that has selectors is typically considered buildable when each selector has a selected item. |
|
string |
Cancelled |
The text displayed in the status bar to indicate the view was cancelled. |
|
string |
Downloading |
Downloading… |
|
string |
Error |
The text displayed in the status bar to indicate a view operation failed. |
|
string |
Information |
The text displayed in the status bar to indicate that the status details contain information. The details are displayed when the Details button is clicked. |
|
string |
Not Ready to Build |
The text displayed in the status bar to indicate the view is not buildable as determined by the view state. |
|
string |
Ready |
The text displayed in the status bar to indicate a view operation is complete. |
|
string |
Waiting for Server Response |
The text displayed in the status bar to indicate the view is waiting for a response from the server. |
|
string |
Warning |
The text displayed in the status bar to indicate that the status details contain a warning. The details are displayed when the Details button is clicked. |
|
string |
Working |
The text displayed in the status bar to indicate a view operation is processing. |
UI
| Property | Type | Default | Description |
|---|---|---|---|
string |
The ID of the toolbars configuration that defines the view-specific menus and tools. At run-time, the menus and tools are merged with the application menus and tools. See also: ViewToolbarsConfigurationID |
||
string |
The ID of the toolbars configuration that defines the view-specific menus and tools displayed within the view window. See also: MergeableToolbarsConfigurationID |
||
string |
The object type ID of the Windows form that contains the user-interface controls used to display the view data. This is a required setting. |
||
WindowsViewUIObjectTypeID_setter |
string |
The object type ID of the Windows form that contains the user-interface controls used to display the view data. This is a required setting. |