StyledText.setHorizontalPixel

Sets the horizontal pixel offset relative to the start of the line. Do nothing if there is no text set. <p> <b>NOTE:</b> The horizontal pixel offset is reset to 0 when new text is set in the widget. </p>

@param pixel horizontal pixel offset relative to the start of the line. @exception SWTException <ul> <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> </ul> @since 2.0

class StyledText
void
setHorizontalPixel
(
int pixel
)

Meta