How To Create New Document from Delphi

Hi,
Could you please help me?
I am using Aspose.Words .Net.
I want in Delphi7 create a new document but not to open an existing one.

var
Hlp: TComHelper;
Doc: _Document;
DB: TDocumentBuilder;
l8087CW: Word;
begin
Hlp := TComHelper.Create(Nil);
Doc := Hlp.Open(‘myDoc.doc’); // How To Create new document ???
DB := TDocumentBuilder.Create(Nil);
DB.Document := Doc;

DB.MoveToDocumentStart;
DB.Write(‘Hello’);

try
l8087CW := Default8087CW;
Set8087CW($133f);

Doc.Save(‘OutputDocs/myDoc.odt’);

finally
Set8087CW(l8087CW);
end;

@petrovalexandr

Could you please share what issue/exception you are facing while opening the document?

Please ZIP and attach the document here for testing. We will investigate the issue and provide you more information on it.