Skip to content

Commit 07d31ac

Browse files
Merge pull request #167 from SyncfusionExamples/960833
960833: Modified the form fields troubleshoot sample.
2 parents 53c1a12 + 9841bdf commit 07d31ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • Forms
    • Enable-default-appearance-in-existing-PDF-document/.NET/Enable-default-appearance-in-existing-PDF-document
    • Enable-default-appearance-in-new-PDF-document/.NET/Enable-default-appearance-in-new-PDF-document

Forms/Enable-default-appearance-in-existing-PDF-document/.NET/Enable-default-appearance-in-existing-PDF-document/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
loadedTextBoxField.Text = "First Name";
1717

1818
//Enable the default Appearance.
19-
loadedDocument.Form.SetDefaultAppearance(true);
19+
loadedDocument.Form.SetDefaultAppearance(false);
2020

2121
//Create file stream.
2222
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Output.pdf"), FileMode.Create, FileAccess.ReadWrite))

Forms/Enable-default-appearance-in-new-PDF-document/.NET/Enable-default-appearance-in-new-PDF-document/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
document.Form.Fields.Add(textBoxField);
2020

2121
//Enable the default Appearance
22-
document.Form.SetDefaultAppearance(true);
22+
document.Form.SetDefaultAppearance(false);
2323

2424
//Create file stream.
2525
using (FileStream outputFileStream = new FileStream(Path.GetFullPath(@"Output/Output.pdf"), FileMode.Create, FileAccess.ReadWrite))

0 commit comments

Comments
 (0)