units Property

Microsoft FrontPage Visual Basic

Show All Show All

units Property

ShowAs 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.

pxHeight and width are measured in pixels.
emHeight and width are measured relative to the height and width of the element's font.

ShowAs it applies to the IFPStyleLength object.

Returns an FpLengthUnits constant that represents the measurement type for the property settings in the specified IFPStyleLength object.

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.