How to get Label Name based on ID?

pramodp37529260

20-04-2018

I have Editable PDF Document ,my code Returns all Form Fields of that PDF Document,  but for  label i want name of the  label instead of  id/name By using id.

Ex:   'First Name'  is the label name before Text Box(Form Field) ,Code Returns "FName","Text First Name" ids for label and form field,but i want to get "First Name".

       MemoryStream ms = new MemoryStream();

        PdfReader reader = new PdfReader(Request.MapPath("~/editble.pdf"));

        PdfStamper formFiller = new PdfStamper(reader, ms);

        AcroFields formFields = formFiller.AcroFields;

Is It Possible or not? If Yes

Please let know the process how to do.

Thanks in Advance.

Accepted Solutions (0)

Answers (0)