GetThemeVariant 方法 (Visio)Page.GetThemeVariant method (Visio)

會傳回套用至指定頁面之主題的 variant 的色彩、樣式及 embellishment (如果有的話)。Returns the color, style, and embellishment, if any, of the variant of the theme applied to the specified page.

語法Syntax

運算式GetThemeVariant(pVariantColorpVariantStylepEmbellishment)expression.GetThemeVariant (pVariantColor, pVariantStyle, pEmbellishment)

_運算式_代表**Page** 物件的變數。expression A variable that represents a Page object.

參數Parameters

名稱Name 必要/選用Required/Optional 資料類型Data type 描述Description
pVariantColorpVariantColor 必要Required INT16INT16 套用的色彩變數的索引。The index of the color variant applied. 可能的值為0到3。Possible values are from 0 to 3. 輸出參數。Out parameter.
pVariantStylepVariantStyle 必要Required INT16INT16 套用樣式變數的索引。The index of the style variant applied. 可能的值為0到3。Possible values are from 0 to 3. 輸出參數。Out parameter.
pEmbellishmentpEmbellishment 選用Optional INT16INT16 套用的 embellishment 索引 (如果有的話)。The index of the embellishment applied, if any. 可能的值為 1, 適用于低、低、3、高。Possible values are from 1, for low, to 3, for high. 輸出參數。Out parameter.

傳回值Return value

空洞VOID

支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.