Jan Netrval
Posts: 6
Joined: 2004-09-08
|
Hello
I have problem. I would like to access to digital signatures in host app (MS word), but this feature is only in Word XP and higher.
Can you help me? |
|
Dmitry Kostochko
Add-in Express team
Posts: 2880
Joined: 2004-04-05
|
Hello Jan,
As far as I understand you need access to the Signatures property of WordXP._Document interface. You can use a code similar to the one below:
uses WordXP;
procedure TAddInModule.adxCommandBar1Controls0Click(Sender: TObject);
var
XPDoc: WordXP._Document;
begin
if (WordApp.Version = '10.0') or (WordApp.Version = '11.0') then
begin
XPDoc := WordApp.ActiveDocument as WordXP._Document;
ShowMessage('Count = ' + IntToStr(XPDoc.Signatures.Count));
end;
end;
Do you need the full source code of this example?
Sincerely,
ADX Support Team
|
|
Jan Netrval
Posts: 6
Joined: 2004-09-08
|
|