Pcd_parm_html_rendering, Pcd_parm_html_rendering 417, Syntax – Kofax DM API User Manual

Page 437: Parameters example

Advertising
background image

DM API T

OKENS

417

%PCD_PARM_HTML_RENDERING

%PCD_PARM_HTML_RENDERING

A document can be rendered in HTML, RIFF or native format to the
browser. To render it in HTML, a license should be installed on DM
Server. Use this tokenverifies that the appropriate license has been
installed.

Syntax

PCDDocObject.GetPropertyValue( _

“%PCD_PARM_HTML_RENDERING”)

Parameters

Example

'Create a doc object.

pObj = CreateObject("PCDClient.PCDDocObject")


'Set the DM security token.

pObj.SetDST(strDST)


'Set the object type.

pObj.SetObjectType(strFormName)


'Set the library.

pObj.SetProperty("%TARGET_LIBRARY", strLibName)


'Initialize the token in question.

pObj.SetProperty("%PCD_PARM_HTML_RENDERING", "")


'Get the results.

pObj.Fetch()


'Get it

pProps = pObj.GetReturnProperties()


'Check out the property in question.

StrHTMLEnabled = pProps.GetPropertyValue( _

"%PCD_PARM_HTML_RENDERING")

%PCD_PARM_HTML_

RENDERING

The token identifier that indicates that
the DM Server is to be checked for a
valid license that allows documents to
be rendered in HTML.

Advertising