Difference between revisions of "WebPage.Width"

From Xojo Documentation

m
 
Line 3: Line 3:
 
| type = [[Integer]]
 
| type = [[Integer]]
 
| owner = [[WebPage]]
 
| owner = [[WebPage]]
| readonly = yes
 
 
| newinversion = 2010r4
 
| newinversion = 2010r4
 
}}
 
}}
Line 13: Line 12:
  
 
<rbcode>
 
<rbcode>
Label1.Text = "Page width = " + Str(Self.Width)
+
Label1.Value = "Page width = " + Self.Width.ToString
 
</rbcode>
 
</rbcode>

Latest revision as of 23:15, 14 August 2020

Property (As Integer )
aWebPage.Width = newIntegerValue
or
IntegerValue = aWebPage.Width

New in 2010r4

Supported for all project types and targets.

The width (in pixels) of the web page.

Example

Display the page width:

Label1.Value = "Page width = " + Self.Width.ToString