@@ -205,6 +205,15 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
205205 set preserveFormFields (bool ? val) => _preserveFormFields = val;
206206
207207
208+ /// Gets or sets a value indicating whether to render PDF choice form field border.
209+ /// PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content
210+ /// Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
211+ bool ? _renderChoiceFormFieldBorder;
212+
213+ bool ? get renderChoiceFormFieldBorder => _renderChoiceFormFieldBorder;
214+ set renderChoiceFormFieldBorder (bool ? val) => _renderChoiceFormFieldBorder = val;
215+
216+
208217 /// Gets or sets the compression type to be used for all textual content in the document.
209218 PdfSaveOptionsData_TextCompressionEnum ? _textCompression;
210219
@@ -576,6 +585,12 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
576585 preserveFormFields = null ;
577586 }
578587
588+ if (json.containsKey ('RenderChoiceFormFieldBorder' )) {
589+ renderChoiceFormFieldBorder = json['RenderChoiceFormFieldBorder' ] as bool ;
590+ } else {
591+ renderChoiceFormFieldBorder = null ;
592+ }
593+
579594 if (json.containsKey ('TextCompression' )) {
580595 switch (json['TextCompression' ] as String ) {
581596 case 'None' : textCompression = PdfSaveOptionsData_TextCompressionEnum .none; break ;
@@ -756,6 +771,10 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
756771 _result['PreserveFormFields' ] = preserveFormFields! ;
757772 }
758773
774+ if (renderChoiceFormFieldBorder != null ) {
775+ _result['RenderChoiceFormFieldBorder' ] = renderChoiceFormFieldBorder! ;
776+ }
777+
759778 if (textCompression != null ) {
760779 switch (textCompression! ) {
761780 case PdfSaveOptionsData_TextCompressionEnum .none: _result['TextCompression' ] = 'None' ; break ;
@@ -841,6 +860,7 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
841860
842861
843862
863+
844864 }
845865}
846866
0 commit comments