Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Retrieves the value of the cascading style sheet (CSS) clip property for the object.
Syntax
HRESULT get_clip( BSTR *p );
Parameters
- p
- Address of a variable that receives the coordinates of the clipping area. This variable receives NULL if the property is not set. See clip for details.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
put_clip
Sets the value of the cascading style sheet (CSS) clip property for the object. The property determines which part of the object is visible. Any part of the object that is outside the clipping area is transparent.
Syntax
HRESULT put_clip( BSTR v );
Parameters
- v
- String specifying the coordinates of the clipping area. Each coordinate can be a length value or "auto". See clip for details. Set this parameter to NULL to remove the property.
Return Value
Returns S_OK if successful, or an error value otherwise.
See Also
get_clip
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.