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