共用方式為


Shape.SectionExists (Visio)

判斷 ShapeSheet 區段是否存在於特定圖形。 唯讀。

語法

expressionSectionExists( _Section_ , _fExistsLocally_ )

expression 一個用於表示 Shape 物件的變數。

參數

名稱 必要/選用 資料類型 描述
Section 必要 整數 區段索引。
fExistsLocal(本地) 必要 整數 搜尋的範圍。

傳回值

整數

註解

如果 fExistsLocallyFalse (0),且物件包含或繼承區段,SectionExists 屬性就會傳回 True。 如果 fExistsLocallyTrue (非零),且物件在本機包含區段,則 SectionExists 屬性會傳回 True;如果區段是繼承而來,則 SectionExists 屬性會傳回 False

代表區段的常數會以 visSection 作為前綴,並由 Microsoft Visio 型態函式庫中的 VisSectionIndices 宣告。

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應