Share via


KashidaPercentage Property [Publisher 2003 VBA Language Reference]

Returns or sets a Long indicating the percentage by which kashidas are to be lengthened for the specified paragraphs. Valid values are from 0 to 100. Read/write.

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

Applies to | ParagraphFormat Object