Publisher (的 ParagraphFormat.ListType 屬性)
會從指定的ParagraphFormat物件傳回PbListType 常數。 唯讀。
語法
運算式。ListType
表達 代表 ParagraphFormat 物件的 變數。
傳回值
PbListType
註解
這是唯讀屬性。 若要設定ParagraphFormat物件的ListType屬性,請使用SetListType方法。
ListType屬性值可以是 Microsoft Publisher 類型程式庫中所宣告的PbListType常數之一。
範例
本範例測試以查看清單類型是否編號的清單,特別是 為 pbListTypeArabic 。 如果 ListType 屬性設 為 pbListTypeArabic , ListNumberSeparator 屬性值會設為 pbListSeparatorParenthesis 。
Dim objParaForm As ParagraphFormat
Set objParaForm = ActiveDocument.Pages(1).Shapes(1) _
.TextFrame.TextRange.ParagraphFormat
With objParaForm
If .ListType = pbListTypeArabic Then
.ListNumberSeparator = pbListSeparatorParenthesis
End If
End With
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應