VAlign Property

 

The VAlign property returns or sets the vertical alignment for text. Returns a MVVTextAlign.

 

Syntax

object.VAlign

object.VAlign = Align

 

Parameter

Type

Description

Align

MVVTextAlign

required; text alignment

 

Example 1

This example demonstrates how to return the vertical alignment of text.

 

Debug.Print FontFormat.VAlign

 

Example 2

This example demonstrates how to set the baseline as an anchor point of text.

 

FontFormat.Valign = mvTABaseline

 

Used by: FontFormat object