Version

ResetPreferredDisplayArea Method

Resets the PreferredDisplayPosition property to its default value.
Syntax
'Declaration
 
Public Sub ResetPreferredDisplayArea() 
public void ResetPreferredDisplayArea()
Remarks

Invoke this method to reset the PreferredDisplayArea property to its default value.

Once this method is invoked, the ShouldSerializePreferredDisplayArea method will return False until the PreferredDisplayArea property is set again.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also