2.276 .real_width

This attribute queries the real object width in pixel. The object has to be visible ()..real_visible = true

The width can be queried for objects without width definition.

Definition

  • Data type

    integer

  • Access

    get

Remark

If there is no width and / or height given when defining objects, you can use the attributes .real_width and .real_height to query the width and the height of those objects.

These attributes can query the width of an object whose geometry has been defined depending on the right and left border of a parent (.xauto = 0).

The dimensions returned are always in pixels!

See also

Attributes .real_height, .width