Q: I am trying to create Rich Text fileds, but I am not sure which
enties I should create. I am using .NET 2.0, C# as dev. platform.
---
A:
If you are referring to Rich Text Form fields you could add RV and DS
strings to the SDF dictionary of the pdftron.PDF.Field object. The
contents of these strings may look as follows:
RV string entry:
<?xml version="1.0"?>
<body xfa:APIVersion="Acroform:2.4.5234.0" xfa:spec="2.1"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
<p
style="margin-top:0pt;margin-bottom:10pt;line-height:13.8pt;text-valign:middle;font-family:Calibri;font-size:36pt">Hel<span
style="vertical-align:11.16pt;font-size:23.76pt">lo</span>
<span style="vertical-align:baseline"></span>
</p>
</body>
DS string entry:
font: Helvetica,sans-serif 12.0pt; text-align:left; color:#000000