Table of Contents

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

string

Handle

public IntPtr Handle { get; set; }

Property Value

IntPtr

IsFullScreen

public bool IsFullScreen { get; set; }

Property Value

bool

IsMaximized

public bool IsMaximized { get; set; }

Property Value

bool

IsMinimized

public bool IsMinimized { get; set; }

Property Value

bool

IsVisible

public bool IsVisible { get; set; }

Property Value

bool

ProcessId

public uint ProcessId { get; set; }

Property Value

uint

ProcessName

public string ProcessName { get; set; }

Property Value

string

ProcessPath

public string ProcessPath { get; set; }

Property Value

string

Rect

public WindowRect Rect { get; set; }

Property Value

WindowRect

Title

public string Title { get; set; }

Property Value

string

ZOrder

public int ZOrder { get; set; }

Property Value

int

Methods

CoversArea(WindowRect)

计算窗口是否覆盖指定区域

public bool CoversArea(WindowRect area)

Parameters

area WindowRect

Returns

bool

GetCoverageRatio(WindowRect)

计算窗口覆盖指定区域的比例

public double GetCoverageRatio(WindowRect area)

Parameters

area WindowRect

Returns

double