共用方式為


Excel) (ThreeDFormat.PresetMaterial 屬性

會傳回或設定立體化表面的材質。 可讀寫的 MsoPresetMaterial

語法

運算式PresetMaterial

表達 代表 ThreeDFormat 物件的 變數。

範例

本範例會指定 myDocument 中第一個圖案的立體化表面為線框。

Set myDocument = Worksheets(1) 
With myDocument.Shapes(1).ThreeD 
 .Visible = True 
 .PresetMaterial = msoMaterialWireFrame 
End With

支援和意見反應

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