Share via


Font.Size Property

PowerPoint Developer Reference

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

See Also