Font.Scaling property (Publisher)
Returns or sets a Variant value used to scale the width of the characters in the text range as a percentage of the current font size. Read/write.
Syntax
expression.Scaling
expression A variable that represents a Font object.
Return value
Variant
Remarks
Valid range is 0.1 to 600.0, where the number represents the percentage of the current font size. Indeterminate values are returned as -2.
Example
This example scales the width of the text in the second story by 200%. For this example to work, a second story with text must exist in the active document.
Sub ScaleUp()
Application.ActiveDocument.Stories(2).TextRange.Font.Scaling = 200
End Sub
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for