# hw_New_Document

(PHP 4)

hw_New_Document — Create new document

### Description

int hw_new_document ( string `$object_record` , string `$document_data` , int `$document_size` )

Returns a new Hyperwave document with document data set to `document_data` and object record set to `object_record` . The length of the `document_data` has to passed in `document_size` This function does not insert the document into the Hyperwave server.

See also hw_free_document(), hw_document_size(), hw_document_bodytag(), hw_output_document(), and hw_insertdocument().