Skip to content

Commit 83431c3

Browse files
committed
Added README Filw
1 parent cb9e755 commit 83431c3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Videos/IF-field/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# How to Create an IF Field in a Word Document Using the .NET Word Library
2+
3+
This repository provides an example of how to create an **IF Field** in a Word document using the **Syncfusion .NET Word Library (DocIO)**. It demonstrates how to create a simple IF field and how to use it with paragraphs and tables.
4+
5+
## Process behind IF Field integration
6+
7+
The sample showcases how IF fields can be programmatically added to a Word document to display different content based on conditions. Users can insert simple IF fields for text-based results or add rich content such as tables and formatted text for true/false cases.
8+
9+
IF field scenarios supported in this sample:
10+
- **Simple IF Field**: Displays pass/fail status based on a numeric condition.
11+
- **IF Field with Rich Content**: Inserts tables and formatted text for true/false statements.
12+
13+
## Steps to use the sample
14+
15+
1. Open the ASP.NET Core application where the Syncfusion DocIO package is installed.
16+
2. Run the application and click the following buttons:
17+
- **Create Simple IF Field**: Creates a Word document with a basic IF field.
18+
- **Create IF Field with Rich Content**: Creates a Word document with rich content based on the IF field condition.
19+
20+

0 commit comments

Comments
 (0)