Format related procedures in class CustomLayout (PowerPoint VBA)

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


Returns the height of the specified object, in points.

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


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


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

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