MSDN Library

units property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the height and width units of the embed object.

Syntax

HRESULT value = object.put_units(BSTR v);HRESULT value = object.get_units(BSTR* p);

Property values

Type: BSTR

px

Height and width are in pixels. For more information about the supported length units, see CSS Length Units.

em

Height and width are relative to the height and width of the element's font. For more information about the supported length units, see CSS Length Units.

 

 

Build date: 6/12/2012

Community Additions

Show:
© 2016 Microsoft