Help Center

CTextDocument2.SetDefaultTabStopmethod

Sets the default tab stop, which is used when no tab exists beyond the current display position.

Windowsmethoddoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION SetDefaultTabStop (BYVAL Value AS SINGLE = 36.0) AS HRESULT

Parameters

NameDescription
ValueNew default tab setting, in floating-point points. Default value is 36.0 points, that is, 0.5 inches.

Description

Sets the default tab stop, which is used when no tab exists beyond the current display position.

If the method succeeds it returns S_OK. If the method fails, it returns one of the following COM error codes. For more information on COM error codes, see Error Handling in COM.

Reference