<class name="QTextImageFormat" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextImageFormat.html#QTextImageFormat()&quot;&gt;&lt;tt&gt;QTextImageFormat&lt;/tt&gt;&lt;/a&gt; class provides formatting information for images in a &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Inline images are represented by an object replacement character (0xFFFC in Unicode) which has an associated &lt;a href=&quot;QTextImageFormat.html#QTextImageFormat()&quot;&gt;&lt;tt&gt;QTextImageFormat&lt;/tt&gt;&lt;/a&gt;. The image format specifies a name with &lt;a href=&quot;QTextImageFormat.html#setName(java.lang.String)&quot;&gt;&lt;tt&gt;setName&lt;/tt&gt;&lt;/a&gt; that is used to locate the image. The size of the rectangle that the image will occupy is specified using &lt;a href=&quot;QTextImageFormat.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTextImageFormat.html#setHeight(double)&quot;&gt;&lt;tt&gt;setHeight&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
    <method name="public QTextImageFormat()" doc="/**
&lt;p&gt;Creates a new image format object.&lt;/p&gt;
 */"/>
    <method name="public final double height()" doc="/**
&lt;p&gt;Returns the height of the rectangle occupied by the image.&lt;/p&gt;

@see &lt;a href=&quot;QTextImageFormat.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextImageFormat.html#setHeight(double)&quot;&gt;&lt;tt&gt;setHeight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isValid()" doc="/**
&lt;p&gt;Returns true if this image format is valid; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String name()" doc="/**
&lt;p&gt;Returns the name of the image. The name refers to an entry in the application's resources file.&lt;/p&gt;

@see &lt;a href=&quot;QTextImageFormat.html#setName(java.lang.String)&quot;&gt;&lt;tt&gt;setName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setHeight(double height)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;height&lt;/tt&gt; of the rectangle occupied by the image.&lt;/p&gt;

@see &lt;a href=&quot;QTextImageFormat.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextImageFormat.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setName(java.lang.String name)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;name&lt;/tt&gt; of the image. The &lt;tt&gt;name&lt;/tt&gt; is used to locate the image in the application's resources.&lt;/p&gt;

@see &lt;a href=&quot;QTextImageFormat.html#name()&quot;&gt;&lt;tt&gt;name&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setWidth(double width)" doc="/**
&lt;p&gt;Sets the &lt;tt&gt;width&lt;/tt&gt; of the rectangle occupied by the image.&lt;/p&gt;

@see &lt;a href=&quot;QTextImageFormat.html#width()&quot;&gt;&lt;tt&gt;width&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextImageFormat.html#setHeight(double)&quot;&gt;&lt;tt&gt;setHeight&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double width()" doc="/**
&lt;p&gt;Returns the width of the rectangle occupied by the image.&lt;/p&gt;

@see &lt;a href=&quot;QTextImageFormat.html#height()&quot;&gt;&lt;tt&gt;height&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextImageFormat.html#setWidth(double)&quot;&gt;&lt;tt&gt;setWidth&lt;/tt&gt;&lt;/a&gt; */"/>
</class>
