|
|
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Creates an image from the specified web page.
Syntax
| Smartsite SXML |
|
|---|---|
<se:imagefromhtml>
<se:parameters>
<se:parameter name="location">
</se:parameter>
</se:parameters>
</se:imagefromhtml>
|
|
Parameters
| Name | Data Type | Properties | Description |
|---|---|---|---|
| AuthenticationPassword | String |
Trim
|
Optionally set the Password property to authenticate to web server before accessing the URL to be converted (e.g handles any IIS authentication method). |
| AuthenticationUsername | String |
Trim
|
Optionally set the Username property to authenticate to web server before accessing the URL to be converted (e.g handles any IIS authentication method). |
| ConversionDelay | Integer | - | An additional time in seconds to wait for asynchronous items to be loaded. A delay is necessary for example to allow a Flash movie to start before starting conversion. |
| EnableActiveX | Boolean | - | Enable ActiveX controls when rendering HTML to image. Default is false. |
| EnableBehaviors | Boolean | - | Enable behaviors when rendering HTML to image. Default is false. |
| EnableJavascript | Boolean | - | Enable scripts when rendering HTML to image. Default is true. |
| Height | Integer | - | Sets the web page height. Defaults to 1600. Set to 0 for auto-detect. |
| HttpRequestHeaders | String |
Trim
|
Sets a string containing the HTTP headers sent by the converter to the web server when the web page is requested from a URL. The HTTP headers string can be used to define cookies, authentication options, URL referer or any other HTTP header to be sent to the web browser. |
| ImageFormat | Enum | - |
Sets the ImageFormat to be used. Defaults to Png.
Enum values:
|
| Location | Locator |
IsRequired
|
Sets the location of the source HTML. This can be an (absolute) url or a smartsite item. |
| NavigationTimeout | Integer | - | The navigation timeout in seconds. Default value is 60. |
| Width | Integer | - | Sets the web page width. Defaults to 1600. Set to 0 for auto-detect. |
Shared Parameters
Local Viper Methods
| Viper | Extension | Description |
|---|---|---|
| This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
| This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |