WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIScreen

IID:f728830e-1dd1-11b2-9598-fb9f414f2465
Inherits From:nsISupports

Properties

readonly PRInt32 colorDepth

readonly PRInt32 pixelDepth


Methods

void GetAvailRect ( out PRInt32 left , out PRInt32 top , out PRInt32 width , out PRInt32 height ) void GetRect ( out PRInt32 left , out PRInt32 top , out PRInt32 width , out PRInt32 height )

void GetAvailRect ( out PRInt32 left , out PRInt32 top , out PRInt32 width , out PRInt32 height )

Arguments:
left
top
width
height

void GetRect ( out PRInt32 left , out PRInt32 top , out PRInt32 width , out PRInt32 height )

Arguments:
left
top
width
height

References

This interface is the type of the following properties:

nsIScreenManager.primaryScreen

This interface is returned from the following methods:

nsIScreenManager.screenForNativeWidget, nsIScreenManager.screenForRect

Reference documentation is generated from Mozilla's source.