ITextDocument::GetDefaultTabStop method (tom.h)

Gets the default tab width.

Syntax

HRESULT GetDefaultTabStop(
  float *pValue
);

Parameters

pValue

Type: float*

The default tab width.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If pValue is NULL, the method fails and it returns E_INVALIDARG. For more information about COM error codes, see Error Handling in COM.

Remarks

The default tab width is used whenever no tab exists beyond the current display position. The default width is given in floating-point points.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

AddTab

ClearAllTabs

Conceptual

DeleteTab

GetListTab

GetTab

GetTabCount

ITextDocument

Reference

SetListTab

Text Object Model