Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to get Label Name based on ID?

Avatar

Avatar
Level 1
pramodp37529260
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
pramodp37529260
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
pramodp37529260
Level 1

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)