共用方式為


CMFCRibbonCategory::GetImageSize

Retrieves the size of an image in the specified image list that is contained in the ribbon category.

CSize GetImageSize(
   BOOL bIsLargeImage
) const;

Parameters

  • [in] bIsLargeImage
    TRUE for the size of large images; FALSE for the size of small images.

Return Value

The size of an image in the specified image list.

Remarks

The size retrieved includes the global image scale factor.

Requirements

Header: afxribboncategory.h

See Also

Reference

CMFCRibbonCategory Class

Hierarchy Chart