DhModule.setHTMLDocument

Overview | Methods | This Package | All Packages

DhModule.setHTMLDocument

Sets the import document file name for server-side operations. 

Syntax

final public void setHTMLDocument( String fileName )

final public void setHTMLDocument( IDataStream inputStream )

Parameters

fileName

The fully qualified path to the HTML template, or an empty string ("") if no template is to be used.

inputStream

The import document stream (com.ms.wfc.io.IDataStream) object pointing to the HTML template.

Remarks

This method is not meant to be called when bound to a browser and can only be called after a call to  setCodeClass. If you do not have a template, call this method with a null-string file name; otherwise, use setBoundElements to associate DhElement items with the HTML in a template.  

See Also   com.ms.wfc.io.File