Web.GetSize

table Web.GetSize ( 

string ObjectName )

Example 1

web_size = Web.GetSize("Product Site");

Gets the pixel dimensions of the "Product Site" web object and stores the width and height values in the "web_size" table. The dimensions can be accessed by referencing web_size.Width and web_size.Height.

See also:  Related Actions