編輯

共用方式為


PdfDocument.Find Method

Definition

Overloads

Find(String, NSStringCompareOptions)

Searches for the specified text with the specified comparison options.

Find(String, nint)
Obsolete.
Find(String, PdfSelection, NSStringCompareOptions)

Searches for the specified text in a selection with the specified comparison options.

Find(String, PdfSelection, nint)
Obsolete.

Find(String, NSStringCompareOptions)

Searches for the specified text with the specified comparison options.

[Foundation.Export("findString:withOptions:")]
public virtual PdfKit.PdfSelection[] Find (string text, Foundation.NSStringCompareOptions compareOptions);
public virtual PdfKit.PdfSelection[] Find (string text, Foundation.NSStringCompareOptions compareOptions);
abstract member Find : string * Foundation.NSStringCompareOptions -> PdfKit.PdfSelection[]
override this.Find : string * Foundation.NSStringCompareOptions -> PdfKit.PdfSelection[]

Parameters

text
String

The text to find.

compareOptions
NSStringCompareOptions

Comparison options to control text matching.

Returns

Attributes

Applies to

Find(String, nint)

Caution

Use 'Find (string, NSStringCompareOptions)' instead.

[Foundation.Export("findString:withOptions:")]
[System.Obsolete("Use 'Find (string, NSStringCompareOptions)' instead.", false)]
public virtual PdfKit.PdfSelection[] Find (string text, nint options);
abstract member Find : string * nint -> PdfKit.PdfSelection[]
override this.Find : string * nint -> PdfKit.PdfSelection[]

Parameters

text
String
options
System.System.IntPtr System.nativeint

Returns

Attributes

Applies to

Find(String, PdfSelection, NSStringCompareOptions)

Searches for the specified text in a selection with the specified comparison options.

[Foundation.Export("findString:fromSelection:withOptions:")]
public virtual PdfKit.PdfSelection Find (string text, PdfKit.PdfSelection selection, Foundation.NSStringCompareOptions compareOptions);
public virtual PdfKit.PdfSelection Find (string text, PdfKit.PdfSelection selection, Foundation.NSStringCompareOptions compareOptions);
abstract member Find : string * PdfKit.PdfSelection * Foundation.NSStringCompareOptions -> PdfKit.PdfSelection
override this.Find : string * PdfKit.PdfSelection * Foundation.NSStringCompareOptions -> PdfKit.PdfSelection

Parameters

text
String

The text to find.

selection
PdfSelection

The selection to search.

compareOptions
NSStringCompareOptions

Comparison options to control text matching.

Returns

Attributes

Applies to

Find(String, PdfSelection, nint)

Caution

Use 'Find (string, PdfSelection, NSStringCompareOptions)' instead.

[Foundation.Export("findString:fromSelection:withOptions:")]
[System.Obsolete("Use 'Find (string, PdfSelection, NSStringCompareOptions)' instead.", false)]
public virtual PdfKit.PdfSelection Find (string text, PdfKit.PdfSelection selection, nint options);
abstract member Find : string * PdfKit.PdfSelection * nint -> PdfKit.PdfSelection
override this.Find : string * PdfKit.PdfSelection * nint -> PdfKit.PdfSelection

Parameters

text
String
selection
PdfSelection
options
System.System.IntPtr System.nativeint

Returns

Attributes

Applies to