Vcl.Ribbon.TCustomRibbon.GetRibbonMetric

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetRibbonMetric(const Metric: TRibbonMetric): Integer;

C++

int __fastcall GetRibbonMetric(const TRibbonMetric Metric);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Ribbon.pas
Vcl.Ribbon.hpp
Vcl.Ribbon TCustomRibbon

Description

Returns a specific ribbon metric.

The user can choose from:

  • Caption
  • Border
  • Height
  • Full height
  • Minimum height
  • Tab's top
  • Page's height
  • Group's height
  • Height of the group's caption
  • Width of the Quick Acces Toolbar
  • Height of the system button
  • Width of the system button
  • Tab's height
  • Font's size

See Also