I'm trying use the method "GetAttachmentsCount", but after execute "DoDocumentVerb", my variable "AttachmentsCount" have the value "Unknown type: 19", I can't say what I'm doing wrong. My code is bellow
Code: Select all
var
AttachmentsCount, DataIn: OleVariant;
ActiveDocID: Integer;
.
.
.
.
PDFXCview.src := CDSINIndiceTreeViewDes_Caminho_Arquivo.AsString;
PDFXCview.GetActiveDocument(ActiveDocID);
PDFXCview.DoDocumentVerb(ActiveDocID, '', 'GetAttachmentsCount', DataIn, AttachmentsCount, PXCVA_Sync or PXCVA_NoUI);