VAlign Property [AutoMFont]

The VAlign property returns or sets the vertical alignment for the font. Returns a Long.

Syntax

object.VAlign

object.VAlign = VAlign

 

Parameter Type Description
VAlign Long required, grfVTextAlign

 

Example 1

This example demonstrates how to return the vertical alignment of a font.

Debug.Print FontFormat.VAlign

Example 2

This example demonstrates how to set the baseline as a reference point for a font.

FontFormat.Valign = grfTABaseline

 

Used by: AutoMFont object