Skip to main content

TcxRect Members

Stores the area (bounding rectangle) of a visual element.

Constructors

Name Description
Create(TPersistent,Integer) Initializes a new instance of the TcxRectBasedGeometryObject class with specified settings. Inherited from TcxRectBasedGeometryObject.
Create(TPersistent,TRect) Creates a new TcxRectBasedGeometryObject instance from the specified TRect value. Inherited from TcxRectBasedGeometryObject.
Create(TPersistent) Creates a new TcxOwnedPersistent class descendant instance. Inherited from TcxOwnedPersistent.

Properties

Name Description
Bottom Specifies the vertical offset of the rectangle’s right-bottom corner or the bottom margin, in pixels. Inherited from TcxRectBasedGeometryObject.
BottomLeft Specifies the position of the rectangle’s bottom-left corner.
BottomRight Specifies the position of the rectangle’s bottom-right corner.
Height Specifies the rectangle’s height, in pixels. Inherited from TcxRectBasedGeometryObject.
Left Specifies the horizontal offset of the rectangle’s left-top corner or the left margin, in pixels. Inherited from TcxRectBasedGeometryObject.
Owner protected Provides access to the persistent object to which the current property set or persistent information container belongs. Inherited from TcxOwnedPersistent.
Rect This property is deprecated. Use the Value property instead.
Right Specifies the horizontal offset of the rectangle’s right-bottom corner or the right margin, in pixels. Inherited from TcxRectBasedGeometryObject.
Top Specifies the vertical offset of the rectangle’s left-top corner or the top margin, in pixels. Inherited from TcxRectBasedGeometryObject.
TopLeft Specifies the position of the rectangle’s top-left corner.
TopRight Specifies the position of the rectangle’s top-right corner.
Value Specifies geometry information as a TRect value. Inherited from TcxRectBasedGeometryObject.
Width Specifies the rectangle’s width, in pixels. Inherited from TcxRectBasedGeometryObject.

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 TcxRectBasedGeometryObject.
IsEmpty Identifies if geometry information corresponds to an empty rectangle or zero margins. Inherited from TcxRectBasedGeometryObject.
IsEqual(TcxRectBasedGeometryObject) Compares two geometry information containers. Inherited from TcxRectBasedGeometryObject.
IsEqual(TRect) Compares geometry information to a TRect value. Inherited from TcxRectBasedGeometryObject.
IsNull Inherited from TcxRectBasedGeometryObject.
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 state of geometry information. Inherited from TcxRectBasedGeometryObject.
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