Publisher (的 ParagraphFormat.ListBulletFontSize 屬性)
會設定或擷取 單一 表示指定之段落的清單項目符號字型的大小。 讀取/寫入。
語法
運算式。ListBulletFontSize
表達 代表 ParagraphFormat 物件的 變數。
傳回值
單一
註解
若清單並非項目清單,則傳回「拒絕存取」訊息。
範例
本範例測試以查看清單類型是否項目符號清單。 如果是, ListFontSize 會設定為 24, 而 ListBulletFontName 設定為 Verdana。
Dim objParaForm As ParagraphFormat
Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _
.TextFrame.TextRange.ParagraphFormat
With objParaForm
If .ListType = pbListTypeBullet Then
.ListBulletFontSize = 24
.ListBulletFontName = "Verdana"
End If
End With
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。