user3286989
user3286989

Reputation: 1

Get form names in windev

I use Itextsharp in WinDev and I try to get the names of a form. My code is hereafter :

Machaine est une chaine

PdfSource= FicSource
PdfDestination = RepCible+"\"+fExtraitChemin(PdfSource,fFichier)+" "+CodId+".pdf"
MonStream = allouer un FileStream(PdfDestination,FileMode::Create)

MonPdfReader est un PdfReader(PdfSource)

POUR TOUT MaChaine  DANS MonPdfReader.AcroFields.Fields.Keys

FIN

The problem is that "MonPdfReader.AcroFields.Fields.Keys" is not accepted.

Thanks for your ideas ...

Upvotes: 0

Views: 315

Answers (1)

WaLinke
WaLinke

Reputation: 778

As you didn't answer your question, here it is :

PdfSource = Sai_FicSource 
//file pdf source 
MonPdfReader est un PdfReader(PdfSource) 
Monfield est un AcroFields.Item 
POUR TOUT Monfield DE MonPdfReader.AcroFields.Fields.Keys 
    MaChaine = Monfield 
FIN

Upvotes: 1

Related Questions