Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

aspose.pdf Key cannot be null. Parameter name: key

$
0
0
Hi Team,

while reading Field Details, I am getting "Key cannot be null.Parameter name: key", below is the code which I am using to find more detail about the pdf field. I am using Aspose.pdf 7.3.0.0 version

 Dim license As Aspose.Pdf.License = New Aspose.Pdf.License()
 license.SetLicense("Aspose.Total.lic")
Dim PDFFileName As String = "d:\temp\iShuttleDisplay(1).pdf"
Dim document As New Aspose.Pdf.Document(PDFFileName)
Dim pdfForm1 As New Aspose.Pdf.Facades.Form(document )

'getting error in below line

 Dim fieldFacade As Aspose.Pdf.Facades.FormFieldFacade =pdfForm1.GetFieldFacade("INITIALA01_445")

'The same error is throwing at the time of updating form field value

pdfForm1.FillField("INITIALA01_445", "xyz")


Viewing all articles
Browse latest Browse all 3131

Trending Articles