DefTabStop Property

A Single type value. Represents the default tab stop position from the left edge of the text block. It's used as the default value for new tab stops, added to the tab stop collection of the text block.

Applies to: TextBlock object

Syntax

[[Let] singleRet =] object.DefTabStop

[Let] object.DefTabStop = defTabStopSet

The DefTabStop property syntax has these parts:

Part Description
object Required. An expression that returns a TextBlock object.
singleRet Optional. A Single type variable.
defTabStopSet Required. An expression that returns a Single value.

Remarks

The value of DefTabStop is measured in the internal ConceptDraw units (InternalUnit).

The DefTabStop property is also a table parameter of the shape, which contains the object text block, that is, its value can be described by a formula. To work with DefTabStop as a table parameter, use the CDPT_DEFTABSTOP constant tag.

Example

This example shows how to modify the interval of the default tab stops in a shape that contains a text block.

Dim s as Shape
s = thisDoc.ActivePage.ShapeByID(1)
' Sets the default tab stop interval
s.TextBlock.DefTabStop = 200
' Inform ConceptDraw engine about the changes for re-drawing
s.PropertyChanged(CDPT_DEFTABSTOP)

 

See Also

Pos property (TabStop object), AddTabStop method