UtilUIAutomationSetWindowOpacity(IWin32Window, Int32) Method
Sets the opacity of the specified window.
Namespace: DevCase.Core.Diagnostics.ProcessesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool SetWindowOpacity(
IWin32Window window,
int opacity
)
Public Shared Function SetWindowOpacity (
window As IWin32Window,
opacity As Integer
) As Boolean
Dim window As IWin32Window
Dim opacity As Integer
Dim returnValue As Boolean
returnValue = UtilUIAutomation.SetWindowOpacity(window,
opacity)
public:
static bool SetWindowOpacity(
IWin32Window^ window,
int opacity
)
static member SetWindowOpacity :
window : IWin32Window *
opacity : int -> bool
No code example is currently available or this language may not be supported.
- window IWin32Window
-
The window.
- opacity Int32
-
The opacity.
The valid range is from 0 to 100.
Boolean
If the function succeeds, the return value is
.
If the function fails, the return value
.
ArgumentOutOfRangeException
|
opacity;Value in range of 0 to 100 is required.
|