Font.SizeBi property (Publisher)

Returns or sets a Variant value representing the size, in points, of the Font object for text in a right-to-left language. Valid range is 0.5 points to 999.5 points. Read/write.

Syntax

expression.SizeBi

expression A variable that represents a Font object.

Return value

Variant

Example

This example tests the text in the second story. If it is in a right-to-left language, larger than 12 point, and italic, the text is set to bold.

Sub SizeBiIfBig() 
 
 Dim fntSize As Font 
 
 Set fntSize = Application.ActiveDocument.Stories(2).TextRange.Font 
 With fntSize 
 If .SizeBi > 12 And .ItalicBi = msoTrue Then 
 .BoldBi = msoTrue 
 Else 
 MsgBox "The font size is 12 points or less " & _ 
 ", not bold, or this is not in a right-to-left language." 
 End If 
 End With 
 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.