FMX.Types._di_IAlignableObject
C++
typedef System::DelphiInterface<IAlignableObject> _di_IAlignableObject;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | FMX.Types.hpp | FMX.Types | FMX.Types |
Description
Represents the DelphiInterface of IAlignableObject.
You can use _di_IAlignableObject to refer to an alignable object in C++ code.
The following code snippet shows how to use the FMX.Types.IAlignableObject.GetWidth method over a TButton:
_di_IAlignableObject AInterface;
if (Button1->GetInterface(AInterface)) {
ShowMessage(AInterface->GetWidth());
}