Partager via


Table.ScaleProportionally Method

Scales all cell heights and widths, font sizes, and internal margins in the table by a specified proportion.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub ScaleProportionally ( _
    scale As Single _
)
'Usage
Dim instance As Table
Dim scale As Single

instance.ScaleProportionally(scale)
void ScaleProportionally(
    float scale
)

Parameters

  • scale
    Type: System.Single
    The proportion to scale the table, between 0.01 and 100. For example, a scale value of 1 keeps the table layout unchanged; a value of 2 makes it twice as large; a value of 0.5 makes it half the size.

Remarks

Use the ScaleProportionally(Single) method to resize a table and maintain the text layout as close as possible to the original layout.

See Also

Reference

Table Interface

Table Members

Microsoft.Office.Interop.PowerPoint Namespace