CanvasShapes.AddTextEffect Method
Reserved for internal use.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Function AddTextEffect ( _
PresetTextEffect As MsoPresetTextEffect, _
Text As String, _
FontName As String, _
FontSize As Single, _
FontBold As MsoTriState, _
FontItalic As MsoTriState, _
Left As Single, _
Top As Single _
) As Shape
'Usage
Dim instance As CanvasShapes
Dim PresetTextEffect As MsoPresetTextEffect
Dim Text As String
Dim FontName As String
Dim FontSize As Single
Dim FontBold As MsoTriState
Dim FontItalic As MsoTriState
Dim Left As Single
Dim Top As Single
Dim returnValue As Shape
returnValue = instance.AddTextEffect(PresetTextEffect, _
Text, FontName, FontSize, FontBold, _
FontItalic, Left, Top)
Shape AddTextEffect(
MsoPresetTextEffect PresetTextEffect,
string Text,
string FontName,
float FontSize,
MsoTriState FontBold,
MsoTriState FontItalic,
float Left,
float Top
)
Parameters
- PresetTextEffect
Type: Microsoft.Office.Core.MsoPresetTextEffect
- Text
Type: System.String
- FontName
Type: System.String
- FontSize
Type: System.Single
- FontBold
Type: Microsoft.Office.Core.MsoTriState
- FontItalic
Type: Microsoft.Office.Core.MsoTriState
- Left
Type: System.Single
- Top
Type: System.Single
Return Value
Type: Microsoft.Office.Interop.PowerPoint.Shape