Retrieves the value of the rectangle's top property.
Syntax
HRESULT get_top(
long *p
);
Parameters
- p
- Address of a long variable that receives the value of the top coordinate of the rectangle. The variable receives NULL if the attribute is not set.
Return Value
Returns S_OK if successful, or an error code otherwise.
Sets the value of the rectangle's top property.
Syntax
HRESULT put_top(
long v
);
Parameters
- v
- Long number that represents the rectangle's top coordinate to set.
Return Value
Returns S_OK if successful, or an error code otherwise.