PdfDocument.Find Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Find(String, NSStringCompareOptions) |
Searches for the specified text with the specified comparison options. |
| Find(String, PdfSelection, NSStringCompareOptions) |
Searches for the specified text in a selection with the specified comparison options. |
Find(String, NSStringCompareOptions)
Searches for the specified text with the specified comparison options.
[Foundation.Export("findString:withOptions:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PdfKit.PdfSelection[] Find(string text, Foundation.NSStringCompareOptions compareOptions);
[<Foundation.Export("findString:withOptions:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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, PdfSelection, NSStringCompareOptions)
Searches for the specified text in a selection with the specified comparison options.
[Foundation.Export("findString:fromSelection:withOptions:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual PdfKit.PdfSelection? Find(string text, PdfKit.PdfSelection? selection, Foundation.NSStringCompareOptions compareOptions);
[<Foundation.Export("findString:fromSelection:withOptions:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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