TextLayout.setSpacing

Sets the line spacing of the receiver. The line spacing is the space left between lines.

@param spacing the new line spacing

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the spacing is negative</li> </ul> @exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> </ul>

class TextLayout
void
setSpacing
()

Meta