| Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
|
||||||||
|
|||||||||
Retrieves the width position of the object in pixels.
Syntax
HRESULT get_posWidth(
float *p
);
Parameters
- p
- Address of a variable that receives the width position.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Unlike the width property, this property's value is a floating-point number, not a string.
See Also
put_posWidth
Sets the width of the object in pixels.
Syntax
HRESULT put_posWidth(
float v
);
Parameters
- v
- Floating-point value specifying the width of the object.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Setting this property changes the value of the width, but leaves the units designator for the property unchanged.
Unlike the width property, this property's value is a floating-point number, not a string.
See Also
get_posWidth
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.