# Quick Start

## Content

This guide walks you through creating a Windows Forms application that generates a Word document using the [C1WordDocument](/componentone/api/services/online-pdf/word/dotnet-api/C1.Win.Pdf/C1.Win.Word.C1WordDocument.html) class.

***

## Set Up the Application

1. In Visual Studio, create a new **Windows Forms App** project.
2. Install the ![](https://cdn.mescius.io/document-site-files/images/637ea673-d43c-46ee-81c6-b1bc16f75dcd/NuGet_project_logo.svg-20261103.2db60f.webp?width=15) [C1.PDF](https://www.nuget.org/packages/C1.Pdf) NuGet package to add the required assembly references to the project. The **`C1.C1Word`** assembly is included; no separate Word package is required.
3. Switch to code view and create an instance of the `C1WordDocument` class, as shown below.

```csharp
// Create the C1WordDocument object.
using C1.Word;

C1WordDocument doc = new C1WordDocument();
```

***

## Add Simple Text

Use the `AddParagraph` method of the `C1WordDocument` class to add a paragraph with a specific font and color. Set the document title through the `Info.Title` property.

```csharp
//Add content to the pagedoc.Info.Title = "Simple Text Sample";// Set the document title.
doc.Info.Title = "Simple Text Sample";

// Add a paragraph with a bold Calibri 12 pt font in black.
doc.AddParagraph(
    "This document was generated using the C1WordDocument class.",
    new C1.Util.Font("Calibri", 12, C1.Util.FontStyle.Bold),
    Color.Black);
```

***

## Running the Application

Use the `Save` method of the `C1WordDocument` class to save the document, then open it with the default application.

```csharp
// Save the document to a file.
doc.Save("Simple.docx");

// Open the saved document.
Process.Start(new ProcessStartInfo
{
    FileName = "Simple.docx",
    UseShellExecute = true
});
```

***

The generated document looks like the following image.
![C1 Word .NET- A word document with Simple Text Sample title](https://docapp.mescius.io/DOCUMENT_SITE_LINK_PREFIX_HERE/document-site-files/images/e19a89e1-cf55-4b79-a0a2-d14396fed931/image-20261014.c7d282.png?width=400&verticalAlign=middle)