Images
Add images with doc.AddImage(...) or paragraph.AddImage(...). Images share the same positioning API as shapes (SetPosition,SetDimensions, SetRotation, wrapping, margins).
Load and Position an Image
Use case: Place a logo at a fixed page position with an explicit size.
Load an Image from a Stream
Use case: Load image data that isn't stored on disk yet.
Text Wrapping Around an Image
Use case: Float an image and let surrounding text wrap around it.
Export an Image to a File
Use case: Save an image extracted from a document.
Inline Image Inside a Paragraph
Use case: Insert a small icon in the middle of a sentence.
Related API
Frequently asked questions
Which image formats are supported?
PNG, JPEG, GIF, BMP, TIFF, EMF, WMF, WEBP (support depends on the target runtime for some formats). See ImageType for the full list.
How do I make an image flow with the text?
Use SetWrappingStyle(WrappingStyle.Square) (or another wrapping mode) plus SetDistanceFromText(...).
Can I place an image behind the text?
Yes — call SetBehindDocument(true) on the image.