Visio) (Shape.SectionExists 屬性

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

語法

expression。 SectionExists( _Section_ , _fExistsLocally_ )

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

參數

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

傳回值

整數

註解

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

代表區段的常數以 visSection 為前置詞,並由 VisSectionIndices 中的 Microsoft Visio 型別程式庫宣告。

支援和意見反應

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