delphi - How can I insert an image in to Microsoft Word programmatically? -
we need insert signature image word template document. doing mail-merging, etc. fine. how insert image programmatically? signature image not same.
we using delphi. can translate c solution (if not use c libraries).
i need know how position image.
var word, doc: variant; begin word := createoleobject('word.application'); doc := word.documents.open('c:\test\word.docx'); word.activedocument.inlineshapes.addpicture('c:\test\sign.bmp'); doc.save; word.quit; end;
Comments
Post a Comment