@@ -205,6 +205,15 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
205
205
set preserveFormFields (bool ? val) => _preserveFormFields = val;
206
206
207
207
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
+
208
217
/// Gets or sets the compression type to be used for all textual content in the document.
209
218
PdfSaveOptionsData_TextCompressionEnum ? _textCompression;
210
219
@@ -576,6 +585,12 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
576
585
preserveFormFields = null ;
577
586
}
578
587
588
+ if (json.containsKey ('RenderChoiceFormFieldBorder' )) {
589
+ renderChoiceFormFieldBorder = json['RenderChoiceFormFieldBorder' ] as bool ;
590
+ } else {
591
+ renderChoiceFormFieldBorder = null ;
592
+ }
593
+
579
594
if (json.containsKey ('TextCompression' )) {
580
595
switch (json['TextCompression' ] as String ) {
581
596
case 'None' : textCompression = PdfSaveOptionsData_TextCompressionEnum .none; break ;
@@ -756,6 +771,10 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
756
771
_result['PreserveFormFields' ] = preserveFormFields! ;
757
772
}
758
773
774
+ if (renderChoiceFormFieldBorder != null ) {
775
+ _result['RenderChoiceFormFieldBorder' ] = renderChoiceFormFieldBorder! ;
776
+ }
777
+
759
778
if (textCompression != null ) {
760
779
switch (textCompression! ) {
761
780
case PdfSaveOptionsData_TextCompressionEnum .none: _result['TextCompression' ] = 'None' ; break ;
@@ -841,6 +860,7 @@ class PdfSaveOptionsData extends FixedPageSaveOptionsData {
841
860
842
861
843
862
863
+
844
864
}
845
865
}
846
866
0 commit comments