Share via


SCRIPT_TABDEF (Windows CE 5.0)

Send Feedback

This structure defines the tab positions for ScriptStringAnalyse.

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

OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.

See Also

ScriptStringAnalyse

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.