TextEffectFormat.NormalizedHeight property (Publisher)
Specifies whether all 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 NormalizedHeight property value can be one of the MsoTriState constants declared in the Microsoft Office type library and shown in the following table.
Constant | Description |
---|---|
msoFalse | Characters in the specified WordArt object are not all the same height. |
msoTrue | Characters in the specified WordArt object are all the same height. |
Example
This example creates a new WordArt shape on the first page of the active publication, and then sets each character in the shape to be the same height.
Sub SetNormalHeight()
With ActiveDocument.Pages(1).Shapes.AddTextEffect _
(PresetTextEffect:=msoTextEffect10, _
text:="Test WordArt Shape", FontName:="Snap ITC", _
FontSize:=30, FontBold:=msoFalse, FontItalic:=msoFalse, _
Left:=36, Top:=36).TextEffect
.NormalizedHeight = msoTrue
End With
End Sub
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.