Muokkaa

Jaa


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

Font Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.