Document object to be used as the input of the conversion. Either this or InputDocumentFileName are used.
The Document object to be used as the input of the conversion. If this value is not null, then it will be used as the input document for the conversion, if the value is null, then InputDocumentFileName is used instead.
If Document is set by the user, then the document converter will use this Document object as is and the conversion will use any updated data.
The ownership of this object belongs to the user and DocumentConverter will not dispose it after it has been used.
For an example, refer to RunJob and RunJobAsync.