RenderChoiceFormFieldBorder

PdfSaveOptions.RenderChoiceFormFieldBorder property

Specifies whether to render PDF choice form field border.

public bool RenderChoiceFormFieldBorder { get; set; }

Remarks

PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.

The default value is true.

Examples

Shows how to render PDF choice form field border.

Document doc = new Document(MyDir + "Legacy drop-down.docx");

PdfSaveOptions saveOptions = new PdfSaveOptions();
saveOptions.PreserveFormFields = true;
saveOptions.RenderChoiceFormFieldBorder = true;

doc.Save(ArtifactsDir + "PdfSaveOptions.RenderChoiceFormFieldBorder.pdf", saveOptions);

See Also