Search found 1 match

by Effi
Sun May 29, 2022 11:58 pm
Forum: AXWWriter and DOCXReadWrite
Topic: DOCXReadWrite Get Text To String
Replies: 1
Views: 1887

DOCXReadWrite Get Text To String

Hello, how can I read text from file .doc .docx or .txt in Memo1 or String ? procedure TfrmMain.Button1Click(Sender: TObject); var FDOCX: TDOCXReadWrite; Str:String; begin FDOCX := TDOCXReadWrite.Create(Nil); if opendialog1.Execute then FDOCX.LoadFromFile(opendialog1.filename); memo1.Lines.Add(FDocx...