|  | Home · Overviews · Examples

# QTextImageFormat Class Reference
[com.trolltech.qt.gui module]

The `QTextImageFormat` class provides formatting information for images in a `QTextDocument`. More...

Inherits `QTextCharFormat`.

## Detailed Description

The `QTextImageFormat` class provides formatting information for images in a `QTextDocument`.

Inline images are represented by an object replacement character (0xFFFC in Unicode) which has an associated `QTextImageFormat`. The image format specifies a name with `setName` that is used to locate the image. The size of the rectangle that the image will occupy is specified using `setWidth` and `setHeight`.