ZennoLab Assemblies Documentation
ScreenSizeWidth Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > IProfile Interface : ScreenSizeWidth Property

Glossary Item Box

Gets or sets the width of current window.

Syntax

C# 
int ScreenSizeWidth {get; set;}

Property Value

Type:System.Int32
The width of current window.

Example

The following example uses property ScreenSizeWidth of profile.
C#Copy Code
// get screen width
int width = project.Profile.ScreenSizeWidth;
 
// set screen width
project.Profile.ScreenSizeWidth = 800;
PHPCopy Code
// get screen width
$width = $project->Profile->ScreenSizeWidth;
 
// set screen width
$project->Profile->ScreenSizeWidth = 800;

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

© 2013 All Rights Reserved.