KashidaPercentage Property

Microsoft Publisher Visual Basic

expression.KashidaPercentage

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The Alignment property of the specified paragraphs must be set to pbParagraphAlignmentKashida or the KashidaPercentage property is ignored.

Example

The following example sets the paragraphs in shape one on page one of the active publication to kashida alignment and specifies that kashidas are to be lengthened by 20 percent.

With ActiveDocument.Pages(1).Shapes(1) _
        .TextFrame.TextRange.ParagraphFormat
    .Alignment = pbParagraphAlignmentKashida
    .KashidaPercentage = 20
End With