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

ParagraphFormat.ListBulletFontName Property (Publisher)

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

Sets or retrieves a String representing the list bullet font name from the specified paragraphs. Read/write.

Syntax

expression. ListBulletFontName

_expression_A variable that represents a ParagraphFormat object.

Return Value

String

Remarks

Returns an "Access Denied" message if the list is not a bulleted list.

Example

This example tests to see if the list type is a bulleted list. If it is, the ListBulletFontName is set to "Verdana" and the ListFontSize is set to 24.

Dim objParaForm As ParagraphFormat 

Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _ 
.TextFrame.TextRange.ParagraphFormat 

With objParaForm 
 If .ListType = pbListTypeBullet Then 
 .ListBulletFontName = "Verdana" 
 .ListBulletFontSize = 24 
 End If 
End With 
© 2018 Microsoft