FormFieldFacade caption problem

Last post 09-03-2011, 11:38 AM by shahzad.latif. 1 replies.
Sort Posts: Previous Next
  •  08-31-2011, 9:18 AM 325576

    FormFieldFacade caption problem .NET

    Hi,
    I need to retrieve the value "caption" of a text field of the pdf file, but the value is always "nothing." I use this code to retrieve the value:

    [...]

            Dim form As Form = New Form(MapPath("fw8ben.pdf"))

            Dim fieldFacade1 As FormFieldFacade = form.GetFieldFacade("f1-3")
            Dim fieldFacade2 As FormFieldFacade = form.GetFieldFacade("f1-4")
            Dim fieldFacade3 As FormFieldFacade = form.GetFieldFacade("f1-5")

            Dim cc1 = fieldFacade1.Caption
            Dim cc2 = fieldFacade2.Caption
            Dim cc3 = fieldFacade3.Caption
    [...]

    Thanks in advance
    Filed under: Aspose.Pdf.Kit
     
  •  09-03-2011, 11:38 AM 326410 in reply to 325576

    Re: FormFieldFacade caption problem

    Hi Gaetano,

    First of all, please make sure that the form fields in the mentioned PDF file contains caption. Secondly, please try to use the latest version of the merged Aspose.Pdf for .NET. Kindly note that the version 6.0.0 and above are part of the merged Aspose.Pdf. Lastly, if that doesn't help either then please share the input PDF file with us, so we could test the issue at our end and guide you accordingly.

    We're sorry for the inconvenience.
    Regards,


    Shahzad Latif - [Follow me on Twitter!]
    Support Developer/Developer Evangelist
    Aspose Sialkot Team
    Aspose - Your File Format Experts

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML