TextAnchorPosition assignment
Friday, July 15, 2016 at 06:21amHi,
I need to create a application which would allow the user to pass the text anchor position in String format.
I understand that TextAnchorPOsition is of type enum. How can I set the value of '.atPosition(TextAnchorPosition.BOTTOMRIGHT)' with a stringvalue that has been passed
//The code
String signPosition="TOPRIGHT"
mydoc.getSignatures().add(signBuild
.withPositionAnchor(textAnchorBuilder
.atPosition(TextAnchorPosition.BOTTOMRIGHT) //This has to be signPosition
.withSize(FIELD_WIDTH, FIELD_HEIGHT)
.withOffset(0, 0)
.withCharacter(2)
.withOccurence(k)
).build());
Thanks,
Sudhangi
Reply to: TextAnchorPosition assignment
Friday, July 15, 2016 at 09:01amReply to: TextAnchorPosition assignment
Monday, July 18, 2016 at 11:04am