BCGControlBar Pro for MFC
virtual CSize CBCGPBaseRibbonElement::GetImageSize ( RibbonImageType  type) const
inlinevirtual

Returns image size of ribbon element.

You can determine size of large or small image, depending on the type parameter.

Parameters
typeThe image type. Can be either RibbonImageLarge or RibbonImageSmall.
Returns
The image size.