Class WindowInfo
- Namespace
- Ink_Canvas.Helpers
- Assembly
- InkCanvasForClass.dll
窗口信息结构
public class WindowInfo
- Inheritance
-
WindowInfo
- Inherited Members
Properties
ClassName
public string ClassName { get; set; }
Property Value
Handle
public IntPtr Handle { get; set; }
Property Value
IsFullScreen
public bool IsFullScreen { get; set; }
Property Value
IsMaximized
public bool IsMaximized { get; set; }
Property Value
IsMinimized
public bool IsMinimized { get; set; }
Property Value
IsVisible
public bool IsVisible { get; set; }
Property Value
ProcessId
public uint ProcessId { get; set; }
Property Value
ProcessName
public string ProcessName { get; set; }
Property Value
ProcessPath
public string ProcessPath { get; set; }
Property Value
Rect
public WindowRect Rect { get; set; }
Property Value
Title
public string Title { get; set; }
Property Value
ZOrder
public int ZOrder { get; set; }
Property Value
Methods
CoversArea(WindowRect)
计算窗口是否覆盖指定区域
public bool CoversArea(WindowRect area)
Parameters
areaWindowRect
Returns
GetCoverageRatio(WindowRect)
计算窗口覆盖指定区域的比例
public double GetCoverageRatio(WindowRect area)
Parameters
areaWindowRect