Width Script

Build 1501 on 14/Nov/2017  This topic last edited on: 9/May/2012, at 13:05

Description

Returns the width, using the object supplied as parameter.

Syntax

Dim width as Integer = Width(obj)

param

a generic object, that has a width attribute. Typically, it's an img object.

Code

  <Extension()> _

  Public Function Width(ByVal obj As IGenericAttrObj) As Integer

    Return GetInteger(obj, "width")

  End Function

See also

Edition Script

Master Script