Create Word Document with Floating Image
This example demonstrates how to create a Word document using Aspose.Words for .NET and insert an image with a floating layout. The provided code initializes a Document and DocumentBuilder, inserts an image with specified dimensions and positioning, and finally saves the document. This guide is ideal for developers looking to enhance their document generation capabilities using Aspose.Words.
Installation Instructions
Install Aspose.Words: Add the Aspose.Words NuGet package to your .NET project. You can do this by running the following command in the Package Manager Console:
Install-Package Aspose.Words
Add Required Namespaces: Ensure your code file includes the following namespaces:
using Aspose.Words; using Aspose.Words.Drawing;