Skip to content

Filling comb text field #28

@AelyPro

Description

@AelyPro

Hello, we are trying to use PdfSharp to fill a pdf document. It's working fine except when we need to fill comb type field.
When we fill them, they appear wrongly, each character are next to another like if it wasn't a comb field. Like in this image
before clicking

When we click on the field it appear the right way :
after clicking

From what I found during my search, you need to specifiy the right value for the property "/Ff" for a field to be a comb. This value is correctly fill on our field. Here are all its properties :
field value.

And here is how we fill the field with our text :

(pdfDocument.AcroForm.Fields["D1A_naissance"] as PdfTextField).Text = "10061939";

I'm realy lost, any help would be usefull !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions