GdipSetStringFormatTabStops

 

 

Description

Sets the offsets for tab stops in this StringFormat object.

Syntax

GpStatus WINGDIPAPI GdipSetStringFormatTabStops(

    GpStringFormat *format,

    REAL firstTabOffset,

    INT count,

    GDIPCONST REAL *tabStops

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetStringFormatTabStops ( _

    BYVAL pFormat AS DWORD, _

    BYVAL firstTabOffset AS SINGLE, _

    BYVAL count AS LONG, _

    BYREF tabStops AS SINGLE _

) AS LONG

Parameters

 

format

[in] Pointer to the StringFormat object.

firstTabOffset

[in] Single precision value that specifies the initial offset position. This initial offset position is relative to the string's origin and the offset of the first tab stop is relative to the initial offset position.

count

[in] Long integer value that specifies the number of tab-stop offsets in the tabStops array.

tabStops

[in] Pointer to an array of real numbers that specify the tab-stop offsets. The offset of the first tab stop is the first value in the array, the offset of the second tab stop, the second value in the array, and so on.

Remarks

Each tab-stop offset in the tabStops array, except the first one, is relative to the previous one. The first tab-stop offset is relative to the initial offset position specified by firstTabOffset. For example, if the initial offset position is 8 and the first tab-stop offset is 50, then the first tab stop is at position 58. If the initial offset position is zero, then the first tab-stop offset is relative to position 0, the string origin.

 

Valid HTML 4.01 Transitional