VAlign Property

VAlign returns or sets the vertical alignment of the text. Returns a SrfVTextAlign.

Syntax

object.VAlign

object. VAlign = Align

Parameter

Type

Description

Align

SrfVTextAlign

required

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 an anchor point for a font.

FontFormat.Valign = srfTABaseline

Used by: FontFormat object