Partager via


Font.Size Property (PowerPoint)

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.

Application.ActivePresentation.Slides(1) _

    .Shapes(1).TextFrame.TextRange.Font _

    .Size = 24

See Also

Concepts

Font Object

Font Object Members