# Pictures

## Content

You can insert pictures into Word documents to enhance their presentation and visual structure. Use the [AddPicture](/componentone/api/services/online-pdf/word/dotnet-standard-api/C1.Pdf/C1.Word.C1WordDocument.AddPicture.html) method to insert a picture, and the [RtfHorizontalAlignment](/componentone/api/services/online-pdf/word/dotnet-standard-api/C1.Pdf/C1.Word.RtfHorizontalAlignment.html) enumeration to set its horizontal alignment.
The following example adds a picture to a document and centers it horizontally:

```csharp
using C1.Word;
using GcImage = GrapeCity.Documents.Drawing.Image; // AddPicture expects a GrapeCity.Documents.Drawing.Image

C1WordDocument doc = new C1WordDocument();

// Load the image
GcImage image = GcImage.FromFile(@"path\to\image.png");

// Add the image, centered horizontally
doc.AddPicture(image, RtfHorizontalAlignment.Center);
```

The document resembles the following image:
![C1Word .NET Word - Image loaded with AddPicture method](https://docapp.mescius.io/DOCUMENT_SITE_LINK_PREFIX_HERE/document-site-files/images/e19a89e1-cf55-4b79-a0a2-d14396fed931/image-20261014.d9057c.png?width=400&verticalAlign=middle)