共用方式為


ThreeDFormat.PresetMaterial 屬性 (Excel)

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

語法

表達。預設材質

代表 ThreeDFormat 物件的變數。

範例

此範例指定 myDocument 中造型 1 的擠出曲面為線框。

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

支援和意見反應

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