TextEffectFormat.NormalizedHeight property (PowerPoint)
Determines whether the characters (both uppercase and lowercase) in the specified WordArt are the same height. Read/write.
Syntax
expression. NormalizedHeight
expression A variable that represents a TextEffectFormat object.
Return value
MsoTriState
Remarks
The value of the NormalizedHeight property can be one of these MsoTriState constants.
Constant | Description |
---|---|
msoFalse | All characters (both uppercase and lowercase) in the specified WordArt are not the same height. |
msoTrue | All characters (both uppercase and lowercase) in the specified WordArt are the same height. |
Example
This example adds WordArt that contains the text "Test Effect" to myDocument and gives the new WordArt the name "texteff1." The code then makes all characters in the shape named "texteff1" the same height.
Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes.AddTextEffect(PresetTextEffect:=msoTextEffect1, _
Text:="Test Effect", FontName:="Courier New", _
FontSize:=44, FontBold:=True, _
FontItalic:=False, Left:=10, Top:=10)_
.Name = "texteff1"
myDocument.Shapes("texteff1").TextEffect.NormalizedHeight = msoTrue
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for