Format related procedures in class Application (PowerPoint VBA)

This page presents procedures from class Application related to the theme Format: Height, SmartArtColors, SmartArtLayouts, SmartArtQuickStyles, Visible 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.

Windows(2).Height = Application.Height / 2

SmartArtColors

Returns the SmartArt colors of the current Application object.

Dim sacsSmartArtColors As Office.SmartArtColors
Set sacsSmartArtColors = Application.SmartArtColors

SmartArtLayouts

Returns the SmartArt layout of the current Application object.

Dim salsSmartArtLayouts As Office.SmartArtLayouts
Set salsSmartArtLayouts = Application.SmartArtLayouts

SmartArtQuickStyles

Returns the quick styles of the SmartArt diagram in the current Application object.

Dim saqsSmartArtQuickStyles As Office.SmartArtQuickStyles
Set saqsSmartArtQuickStyles = Application.SmartArtQuickStyles

Visible

Returns or sets the visibility of the specified object or the formatting applied to the specified object.

The value of the Visible property can be one of these MsoTriState constants.

Application.Visible = msoTrue

Width

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

Application.Width = 200