Reference > Functions reference > Container functions > GetWidth
 

GetWidth

Returns the width, in pixels, of the content in a container field that holds images.

Format 

GetWidth ( field )

Parameters 

field - any text, number, date, time, timestamp, or container field; or any text expression or numeric expression.

Data type returned 

number

Originated in version 

12.0

Description 

Returns the width in pixels of images in a container field that holds images. Otherwise, GetWidth returns 0.

Example 1 

GetWidth(Product) returns 1024.

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas