Retrieves the value of the rectangle's right property.
Syntax
HRESULT get_right(
long *p
);
Parameters
- p
- Address of a long variable that receives the value of the right 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 coordinate value of the rectangle's right property.
Syntax
HRESULT put_right(
long v
);
Parameters
- v
- Long number that represents the rectangle's right coordinate to set.
Return Value
Returns S_OK if successful, or an error code otherwise.