Excel) (ThreeDFormat.PresetThreeDFormat 屬性
會傳回預設的立體化格式。 每個預設的立體化格式都包含各種立體化屬性的一組預設值。 唯讀的 MsoPresetThreeDFormat。
語法
運算式。PresetThreeDFormat
表達 代表 ThreeDFormat 物件的 變數。
註解
如果立體化具有自訂格式而不是預設的格式,此屬性會傳回 msoPresetThreeDFormatMixed 。
此屬性是唯讀屬性。 若要設定預設的立體化格式,請使用 SetThreeDFormat 方法。
範例
本範例會將 myDocument 上第一個圖案的立體化格式設定為 3D 樣式 12,如果圖案一開始有自訂立體化格式。
Set myDocument = Worksheets(1)
With myDocument.Shapes(1).ThreeD
If .PresetThreeDFormat = msoPresetThreeDFormatMixed Then
.SetThreeDFormat msoThreeD12
End If
End With
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。