units
Collapse the table of content
Expand the table of content

units property

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

Syntax

HRESULT value = object.put_units( v);HRESULT value = object.get_units(* 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.

 

 

Community Additions

ADD
Show:
© 2016 Microsoft