GC.stringExtent

Returns the extent of the given str. No tab expansion or carriage return processing will be performed. <p> The <em>extent</em> of a str is the width and height of the rectangular area it would cover if drawn in a particular font (in this case, the current font in the receiver). </p>

@param str the str to measure @return a point containing the extent of the str

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

class GC
stringExtent
(
String str
)

Meta