Format related procedures in class DocumentWindow (PowerPoint VBA)

This page presents procedures from class DocumentWindow related to the theme Format: Height and Width

Height

Returns or sets the height of the specified object, in points.

The Height property of a Shape object returns or sets the height of the forward-facing surface of the specified shape. This measurement doesn't include shadows or 3D effects.

ActiveWindow.Height =

Width

Returns or sets the width of the specified object, in points.

Windows.Arrange ppArrangeTiled

ah = Windows(1).Height                      ' available height

aw = Windows(1).Width + Windows(2).Width    ' available width

With Windows(1)

    .Width = aw

    .Height = ah / 2

    .Left = 0

End With

With Windows(2)

    .Width = aw

    .Height = ah / 2

    .Top = ah / 2

    .Left = 0

End With