Share via


units Property

As it applies to the FPHTMLEmbed and IHTMLEmbedElement objects.

Sets or returns a String that represents the measurement type for the height and width of an embedded object.

expression.units

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Remarks

The units property can be one of the following String values.

px Height and width are measured in pixels.
em Height and width are measured relative to the height and width of the element's font.

As it applies to the IFPStyleLength object.

FpLengthUnits

FpLengthUnits can be one of the following FpLengthUnits constants.

fpLengthUnitsAtom
fpLengthUnitsCM
fpLengthUnitsEM
fpLengthUnitsEX
fpLengthUnitsHalfPoints
fpLengthUnitsHTMLFontUnits
fpLengthUnitsIN
fpLengthUnitsInvalid
fpLengthUnitsMM
fpLengthUnitsNone
fpLengthUnitsNoValue
fpLengthUnitsPC
fpLengthUnitsPercent
fpLengthUnitsPT
fpLengthUnitsPX
fpLengthUnitsRelative

expression.units

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Applies to | FPHTMLEmbed Object | IFPStyleLength Object | IHTMLEmbedElement Object