'DeclarationFunction AddTextEffect( _ ByVal textEffect As PresetTextEffect, _ ByVal text As String, _ ByVal fontName As String, _ ByVal fontSize As Double, _ Optional ByVal bold As Boolean, _ Optional ByVal italic As Boolean, _ Optional ByVal x As Double, _ Optional ByVal y As Double _ ) As IShape
'UsageDim instance As IShapes Dim textEffect As PresetTextEffect Dim text As String Dim fontName As String Dim fontSize As Double Dim bold As Boolean Dim italic As Boolean Dim x As Double Dim y As Double Dim value As IShape value = instance.AddTextEffect(textEffect, text, fontName, fontSize, bold, italic, x, y)
Parameters
- textEffect
- The preset text effect.
- text
- The text in the shape.
- fontName
- The name of the font used in the shape.
- fontSize
- The size (in points) of the font used in the shape.
- bold
- The font used in the shape to bold.
- italic
- The font used in the shape to italic.
- x
- The position (in pixels) of the upper-left corner of the shape's bounding box relative to the upper-left corner of the document.
- y
- The position (in pixels) of the upper-left corner of the shape's bounding box relative to the top of the document.
Return Value
The created IShape object.