Share via


PdfView.SetCurrentSelection(PdfSelection, Boolean) Method

Definition

Sets the current selection with an optional animation.

[Foundation.Export("setCurrentSelection:animate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetCurrentSelection(PdfKit.PdfSelection? selection, bool animate);
[<Foundation.Export("setCurrentSelection:animate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetCurrentSelection : PdfKit.PdfSelection * bool -> unit
override this.SetCurrentSelection : PdfKit.PdfSelection * bool -> unit

Parameters

selection
PdfSelection

The selection to make current.

animate
Boolean

Whether to animate the selection operation.

Attributes

Applies to