Skip to main content

TdxPDFViewerCustomAction.HandlesTarget(TObject) Method

Returns a value indicating whether the action object’s execution result is applied to the specified PDF Viewer control instance.

Declaration

function HandlesTarget(Target: TObject): Boolean; override;

Parameters

Name Type
Target TObject

Returns

Type
Boolean

Remarks

This function returns True if at least one of the following conditions is met:

  • A PDF Viewer control instance passed as the Target parameter matches the Control property value;

  • A PDF Viewer control instance passed as the Target parameter is focused or the current action does not require focus.

Otherwise, the HandlesTarget function returns False.

See Also