# Inserting Pictures

## Content

You might need to insert images in your word document along with the text to enhance the overall appearance of your document. To do so, you can use the [AddPicture](/componentone/api/win/online-wordlibrary/dotnet-framework-api/C1.C1Word.4.8/C1.C1Word.C1WordDocument.AddPicture.html) method to insert picture in your word document and align it accordingly. The following code illustrates the use of [AddPicture](/componentone/api/win/online-wordlibrary/dotnet-framework-api/C1.C1Word.4.8/C1.C1Word.C1WordDocument.AddPicture.html) method and [RtfHorizontalAlignment](/componentone/api/win/online-wordlibrary/dotnet-framework-api/C1.C1Word.4.8/C1.C1Word.RtfHorizontalAlignment.html) enum to set the horizontal alignment of the picture:

```vbnet
Dim img As Image = New Bitmap(dlg.FileName)
C1Word.AddPicture(img, RtfHorizontalAlignment.Left)
```

```csharp
Image img = new Bitmap(dlg.FileName);
C1Word.AddPicture(img, RtfHorizontalAlignment.Left);                                    
```

The document will look similar to the image below:
![](https://cdn.mescius.io/document-site-files/images/d212fa72-345b-4e6f-8a61-2f65bbaae047/images/adding_picture.png)