[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TabbedTextOut

TabbedTextOut Method

TabbedTextOut(string, Point, int[], int)

Writes a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions. Text is written in the currently selected font, background color, and text color.

Declaration
public Size TabbedTextOut(string text, Point position, int[] tabStopPositions, int tabOrigin)
Parameters
Type Name Description
string text

A string that saves the characters to be written.

Point position

A Point that indicates the reference point that the system uses to align the string.

int[] tabStopPositions

Pointer to an array containing the tab-stop positions. The tab stops must be sorted in increasing order; the smallest x-value should be the first item in the array. If this parameter is null, tabs are expanded to eight times the average character width.

int tabOrigin

Specifies the x-coordinate of the starting position from which tabs are expanded.

Returns
Type Description
Size

Returns the dimensions, of the string.