包含套用到文字藝術師物件的屬性和方法。
註解
使用 Shape 物件的 TextEffect 屬性來傳回 TextEffectFormat 物件。
範例
下列範例會設定 myDocument 上第一個圖案的字型名稱及格式。 若要使這個範例能夠正常執行,第一個圖案必須是 [文字藝術師] 物件。
Set myDocument = Worksheets(1)
With myDocument.Shapes(1).TextEffect
.FontName = "Courier New"
.FontBold = True
.FontItalic = True
End With
方法
屬性
- Alignment
- Application
- Creator
- FontBold
- FontItalic
- FontName
- FontSize
- KernedPairs
- NormalizedHeight
- Parent
- PresetShape
- PresetTextEffect
- RotatedChars
- Text
- Tracking
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。