Skip to main content

TcxSize Members

Stores pixel dimensions of a visual element.

Constructors

Name Description
Create(TPersistent,Integer,Integer) Creates a new TcxSize class instance for storing dimensions.
Create(TPersistent,TSize) Initializes a new instance of the TcxSize class with specified settings.
Create(TPersistent) Creates a new TcxOwnedPersistent class descendant instance. Inherited from TcxOwnedPersistent.

Properties

Name Description
Height Specifies the visual element’s height, in pixels.
Owner protected Provides access to the persistent object to which the current property set or persistent information container belongs. Inherited from TcxOwnedPersistent.
Size This property is deprecated. Use the Value property instead.
Value Specifies dimensions as a TSize value.
Width Specifies the visual element’s width, in pixels.

Methods

Name Description
_AddRef protected The reference counter increment function of the interfaced property set. Inherited from TcxOwnedInterfacedPersistent.
_Release protected The reference counter decrement function of the interfaced property set. Inherited from TcxOwnedInterfacedPersistent.
Assign(TPersistent) Applies compatible settings from the specified source to the current property set. Inherited from TcxLockablePersistent.
AssignTo(TPersistent) Inherited from TPersistent.
BeginUpdate Postpones setting change notifications to the parent object until an EndUpdate or CancelUpdate procedure call. Inherited from TcxLockablePersistent.
CancelUpdate Re-enables change notifications and delays pending changes made in the component after a BeginUpdate procedure call until the next content or setting change. Inherited from TcxLockablePersistent.
ChangeScale(Integer,Integer) Scales the persistent geometry object using the specified numerator and denominator values. Inherited from TcxGeometryObject.
DoAssign(TPersistent) protected Updates the persistent information container’s class-specific properties with the corresponding values obtained from another persistent information container. Inherited from TcxOwnedPersistent.
DoChanged protected Applies pending changes after an EndUpdate procedure call. Inherited from TcxLockablePersistent.
EndUpdate Applies all pending changes and redraws the parent object after a BeginUpdate procedure call. Inherited from TcxLockablePersistent.
Equals(TObject) Inherited from TObject.
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner protected Returns the persistent object to which the current property set or persistent information container belongs. Inherited from TcxOwnedPersistent.
IsDefault Identify if geometry information matches its initial state. Inherited from TcxPointBasedGeometryObject.
IsEmpty Compares geometry-based information to zeros. Inherited from TcxPointBasedGeometryObject.
IsEqual(TcxPointBasedGeometryObject) Compares two geometry-based information containers. Inherited from TcxPointBasedGeometryObject.
IsEqual(TPoint) Compares geometry information to a TPoint value. Inherited from TcxPointBasedGeometryObject.
IsEqual(TSize) Compares geometry information to a TSize value. Inherited from TcxPointBasedGeometryObject.
LoadFromStream(TStream) Loads information from the specified stream to the persistent geometry object. Inherited from TcxGeometryObject.
QueryInterface(TGUID,Untyped) protected Provides access to the implementation of the specified interface if the current persistent property set or information container supports it. Inherited from TcxOwnedInterfacedPersistent.
Reset Restores the initial geometry information. Inherited from TcxPointBasedGeometryObject.
SaveToStream(TStream) Saves information stored in the persistent geometry object, to the specified stream. Inherited from TcxGeometryObject.
ToString Inherited from TObject.

Events

Name Description
OnChange Allows you to respond to changes made to the persistent geometry object’s settings. Inherited from TcxGeometryObject.
See Also