OutputFormat Enumeration
This enumeration lists the types of files that can be returned by a call to AssembleDocument.

Namespace: HotDocs.Sdk.Server.Contracts
Assembly: HotDocs.Sdk.Server.Contracts (in HotDocs.Sdk.Server.Contracts.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[FlagsAttribute]
public enum OutputFormat
Members

  Member nameValueDescription
None0 No output
Answers1

XML Answer File

Note: An XML answer file returned from a call to AssembleDocument does not necessarily contain the exact same set of answers as the combined set of answer files sent in the request. For example, if during the course of assembling a document, HotDocs encounters a SET instruction, the answer for that variable may change in the answer set. Likewise, if a template author designates a variable as one not to save in the answer file, it is included in the answer set returned from an interview, but it is then removed when the answer set is saved as XML prior to being returned from AssembleDocument.

Native2

The native output document format for the template:

  • RTF (Word) templates produce RTF documents.
  • WPT (WordPerfect) templates produce WPD documents.
  • HPT (PDF-based) form templates produce PDF documents.
  • HFT (Envoy-based) form templates produce HFD documents.
PDF4 A PDF document. (Only supported with RTF/DOCX and HPT templates.)
HTML8 An HTML version of the assembled document. (Only supported with RTF/DOCX templates.)
PlainText16 A plain text version of the assembled document. (Only supported with RTF/DOCX templates.)
HTMLwDataURIs32 An HTML version of the assembled document where all images are encoded and included in-line in Data URIs. (Only supported with RTF/DOCX templates.)
MHTML64 An MHTML version of the assembled document where all images are packaged along with the HTML. (Only supported with RTF/DOCX templates.)
RTF128 A Microsoft Word RTF document.
DOCX256 A Microsoft Word Open XML document.
WPD512 A WordPerfect document. (Not supported in HotDocs Core Services.)
HPD1024 A PDF-based HotDocs form document. (Requires HotDocs Filler to open.)
HFD2048 An Envoy-based HotDocs form document. (Requires HotDocs Filler to open.)
JPEG4096 A .JPG image file. (Placeholder for future implementation.)
PNG8192 A Portable Network Graphics (.PNG) image file. (Placeholder for future implementation.)
See Also