ParaPropsRow property

Microsoft Visio Developer Reference

ParaPropsRow property

   Example   

Returns the index of the row in the Paragraph section of a ShapeSheet window that contains paragraph formatting information for a Characters object.

Version added

3.0

Syntax

intRet = object.ParaPropsRow(bias)

intRet

Integer. The index of the row that defines the Character object's paragraph format.

object

Required. An expression that returns a Characters object.

bias

Required Integer. The direction of the search.

Remarks

If the formatting for the Characters object is represented by more than one row in the Paragraph section in the ShapeSheet window, the ParaPropsRow property returns -1. If the Characters object represents an insertion point rather than a sequence of characters (its Begin and End properties return the same value), use the bias argument to determine which row index to return.

Constant

Value

visBiasLetVisioChoose

0

visBiasLeft

1

visBiasRight

2

Specify visBiasLeft for the row that covers paragraph formatting for the character to the left of the insertion point, or visBiasRight for the row that covers paragraph formatting for the character to the right of the insertion point.