Share via


createStyleLength Method

Returns an IFPStyleLength object that represents measurement properties for a style.

expression.createStyleLength

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

Example

The following example creates a new IFPStyleLength object.

Dim objState As IFPStyleState
Dim objLength As IFPStyleLength

Set objState = Application.ActiveDocument.createStyleState
Set objLength = objState.createStyleLength

Applies to | IFPStyleState Object