ParaProps property

Microsoft Visio Developer Reference

ParaProps property

   Example   

Sets the paragraph property of a Characters object to a new value.

Version added

3.0

Syntax

object.ParaProps(intWhichProp) = intExpression

object

Required. An expression that returns a Characters object.

intWhichProp

Required Integer. The property to set.

intExpression

Required Integer. The new value of the property.

Remarks

The values of the intWhichProp argument correspond to named cells in the Paragraph section of the ShapeSheet window. Constants for intWhichProp are declared by the Visio type library in VisCellIndices.

Constant

Value

visIndentFirst

0

visIndentLeft

1

visIndentRight

2

visSpaceLine

3

visSpaceBefore

4

visSpaceAfter

5

visHorzAlign

6

visBulletIndex

7

visBulletString

8

Depending on the extent of the text range and the format, setting the ParaProps property may cause rows to be added or removed from the Paragraph section of the ShapeSheet window.

To retrieve information about an existing format, use the ParaPropsRow property.