Format related procedures in class CustomLayout (PowerPoint VBA)

This page presents procedures from class CustomLayout related to the theme Format: Height, ThemeColorScheme and Width

Height

Returns the height of the specified object, in points.

Dim sngHeight As Single
sngHeight = ActivePresentation.SlideMaster.CustomLayouts(1).Height

ThemeColorScheme

Returns a ThemeColorScheme object that represents the color scheme of the theme associated with the specified custom layout.

Dim tcsThemeColorScheme As Office.ThemeColorScheme
Set tcsThemeColorScheme = ActivePresentation.SlideMaster.CustomLayouts(1).ThemeColorScheme

Width

Returns the width of the specified custom layout, in points.

Dim sngWidth As Single
sngWidth = ActivePresentation.SlideMaster.CustomLayouts(1).Width