Skip to content

FindOptions

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Options for Find pattern methods.

csharp
public readonly struct FindOptions

Constructors

FindOptions(FindCursorPosition, bool)

Creates FindOptions with the specified settings.

Parameters:

csharp
public FindOptions(FindCursorPosition cursorPosition = FindCursorPosition.End, bool includeMatchInCells = true)

Properties

CursorPosition

Where to leave the cursor after matching. Default is End (after the match) for natural pattern chaining.

Returns: FindCursorPosition

csharp
public FindCursorPosition CursorPosition { get; }

IncludeMatchInCells

Whether to include the matched cells in the result. When default-initialized, returns true (the default behavior).

Returns: Boolean

csharp
public bool IncludeMatchInCells { get; }

Fields

Default

Default options: cursor at end of match, match cells included.

Returns: FindOptions

csharp
public static readonly FindOptions Default

Released under the MIT License.