Table of contents
TOC
Collapse the table of content
Expand the table of content

Font.SizeBi Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

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
© 2018 Microsoft