get_width


Description:

[ Version ( since = "0.26" ) ]
public double get_width ()

Obtains the width of the block-level structure element.

Note that for elements which do not specify a width, it has to be calculated, and in this case -1 is returned.

Parameters:

this

A StructureElement

Returns:

A positive value if a width is defined, or -1 if the width is to be calculated automatically.