This documentation is archived and is not being maintained.

Font.Size Property

Office 2007
Returns or sets the character size, in points. Read/write.

Syntax

expression.Size

expression   A variable that represents a Font object.

Return Value
Single

Example

This example sets the size of the text attached to shape one on slide one to 24 points.

Visual Basic for Applications
Application.ActivePresentation.Slides(1) _
    .Shapes(1).TextFrame.TextRange.Font _
    .Size = 24



Show: