Share via


SCRIPT_TABDEF (Windows Embedded CE 6.0)

1/6/2010

This structure defines the tab positions for ScriptStringAnalyse.

Syntax

typedef struct tag_SCRIPT_TABDEF {
  int cTabStops;
  int iScale;
  int* pTabStops;
  int iTabOrigin;
} SCRIPT_TABDEF;

Members

  • cTabStops
    Number of entries in the array pointed to by pTabStops.

    Value Description

    0

    Tab stops occur every eight average-character widths.

    1

    All tab stops are the length of the first entry in the array pointed to by pTabStops.

    greater than 1

    The first cTabStops tab stops are as specified in the array pointed to by pTabStops, and subsequent tab stops are every eight average characters.

  • iScale
    Scale factor for iTabOrigin and pTabStops entries. Values are converted to device coordinates by multiplying by iScale, then dividing by four. If values are already in device units, set iScale to four. If values are in dialog units, set iScale to the average character width of the dialog font. If values are multiples of the average character width for the selected font, set iScale to 0.
  • pTabStops
    Pointer to an array whose number of entries is cTabStops. Each entry specifies a tab stop position. Positive values give near-edge alignment, while negative values give far-edge alignment.

    The units for the array elements are as selected by iScale.

  • iTabOrigin
    Initial offset, in logical units, for tab stops. Tabs start iTabOrigin logical units before the beginning of the string. This helps with situations where multiple tabbed outputs are on the same line.

Remarks

This structure is ignored unless the dwFlags parameter is set to SSA_TAB in the ScriptStringAnalyse function.

Requirements

Header usp10.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ScriptStringAnalyse

Other Resources

Uniscribe Structures