Free Support Forum - aspose.com

Attributes of PDF form fields


#1

Hello,

We are converting our PDF form to HTML. For this We require below attributes from the control object for our program logic. For example if the PDF form contains a TextBox(txtObj) then it should have the following. txtObj.IsVisible, txtObj.IsMultiLine, txtObj.IsRequired etc. likewise for all the controls TextBox, CheckBox, RadioButton etc, Please let us that this is available ASPOSE.

Field Attributes
Multiline
Left
Top
Height
Width
Required
ReadOnly
ExportValue
DefaultValue
OriginalValue
MaxLength
FontName
FontSize
BackgroundColor
PageNumber
Hidden
Alignment
FieldType

Thanks,
Prasath


#2

@prasathbalu

Thank you for contacting support.

Please note that Aspose.PDF for .NET API mimics the behavior of Adobe Acrobat. If you are able to notice such attributes in the HTML file generated by Adobe Acrobat then please share source and generated files as single ZIP file, so that we may try to reproduce and investigate it further.


#3

Thank You!

I have attached the sample PDF form We used and properties available for sample PDF form fields through Aspose.PDF. We require all the properties in the excel attached in order to convert our PDF to HTML page where We can fill the values in the fields and save it.PDF Sample Form.zip (61.5 KB)


#4

@prasathbalu

Thank you for sharing the data.

Please note that several methods and properties are exposed by TextBoxField Class which can be used as per your requirements. Likewise, you may also visit CheckboxField or RadioButtonField Class for further information.