Hi there,
I am replacing some text in my pdf, but there are a few issues
1. The text replaced is always left aligned
2. The text replaced has character space of 0
This is the original text I am replacing, (original text alignment is center)
This is the outcome
Here is the API call I am calling for text replacement
{
“TextReplaces”: [
{
“OldValue”: “TEXT1”,
“NewValue”: “Sania”,
“Regex”: true,
“TextState”: {
“HorizontalAlignment”: “center”,
“FontFile”: “BADABB__.TTF”
}
},{
“OldValue”: “TEXT2”,
“NewValue”: “Dan”,
“Regex”: true,
“TextState”: {
“HorizontalAlignment”: “Center”,
“FontFile”: “BADABB__.TTF”,
“CharacterSpacing”: 2.0
}
}
]
}
I need your urgent help for this
@codewarior
image.png (40.8 KB)
image.png (42.5 KB)