Welcome to the GrapeCity Documents for Word Sample Browser!
Documents for Word is a high performance .NET Core library that allows to create and modify MS Word documents programmatically in C# or VB.NET.
Here you can browse sample sources, run the samples and view or download the generated documents (DOCX, PDF or image files), and download complete C# or VB.NET sample projects.
After selecting a sample in the left panel, you can take these actions:
DOCX Run the sample (C# or VB.NET, depending on the selected language), and open or download the generated DOCX.
PDF Run the sample, convert the generated DOCX to PDF, and view the PDF.
TIFF Run the sample, convert the generated DOCX to multi-page TIFF, and view it.
JPG Run the sample, convert the first page of the generated DOCX to JPEG, and view it.
PNG Run the sample, convert the first page of the generated DOCX to PNG, and view it.
C# Select C# samples, view and download C# source code and projects.
VB Select VB.NET samples, view and download VB.NET source code and projects.
Download the current sample project (C# or VB.NET, depending on the selected language) as a .zip file.
New or updated samples are marked with, older but still recent samples are marked with.
Some samples show next to the description, indicating that the sample has some limitations. Hover over this icon to see details.
Source code search:
To search for a string in the sample sources, use the search box in the navigation bar above.
Enter an empty search string to see the search tips.
Sources in the selected language are searched. Click C# or VB to select the language.
Clicking Tags to the left of the search box shows the list of tags for quick access to relevant samples.