Viscom Software Screen2Video ActiveX Control

ScreenWidth Method

Description:   

Return the Width of Screen Resolution.

Usage:   

Screen2Video1.ScreenWidth

Return Value:

Return the width of screen.

Parameter:

No Parameter. 

 

Example:   

This Visual Basic example return the width and height of screen resolution.

Private Sub Form_Load()

txtWidth = Screen2Video1.ScreenWidth
txtHeight = Screen2Video1.ScreenHeight

End Sub