DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.Events.ZoomEventArgs Class Reference

Arguments fpr an event that indicates that zoom level for a specific URL has been changed. More...

Inherits EventArgs.

Public Member Functions

 ZoomEventArgs (double zoomLevel, string url)
 Constructs a new ZoomEvent instance. More...
 
override string ToString ()
 Represent object as string More...
 

Properties

string Url [get]
 Gets URL of the web page which zoom level has been changed. More...
 
double ZoomLevel [get]
 Gets zoom level of the web page. Zoom level can be negative when zoom is out, positive when zoom is in and 0.0 when zoom level is reset to default value. More...
 

Detailed Description

Arguments fpr an event that indicates that zoom level for a specific URL has been changed.

Constructor & Destructor Documentation

DotNetBrowser.Events.ZoomEventArgs.ZoomEventArgs ( double  zoomLevel,
string  url 
)

Constructs a new ZoomEvent instance.

Parameters
zoomLevelthe level of zoom. Can be -2.5, 0.0, 2.5.
urlURL of the web page which zoom level has been changed.

Member Function Documentation

override string DotNetBrowser.Events.ZoomEventArgs.ToString ( )

Represent object as string

Returns
a string that represents the object

Property Documentation

string DotNetBrowser.Events.ZoomEventArgs.Url
get

Gets URL of the web page which zoom level has been changed.

double DotNetBrowser.Events.ZoomEventArgs.ZoomLevel
get

Gets zoom level of the web page. Zoom level can be negative when zoom is out, positive when zoom is in and 0.0 when zoom level is reset to default value.