FoxitPDFSDKforWeb v10.0.0
Foxit PDF SDK for Web
HandStateHandlerConfig Interface Reference

Public Attributes

boolean enableAnnotationSelectionTool
 Whether to enable annotation selection tool. By default, annotation selection tool is enabled. More...
 
boolean enablePasting
 Specifies whether the paste functionality is enabled or disabled in the hand state. By default, the enablePasting property is set to true, enabling the ability to paste content, including both text and images. When set to false, users will not have the option to paste content into the PDF page. More...
 
boolean enableTextSelectionTool
 Whether to enable text selection tool. By default, text selection tool is enabled. More...
 

Detailed Description

Member Data Documentation

◆ enableAnnotationSelectionTool

boolean HandStateHandlerConfig::enableAnnotationSelectionTool

Whether to enable annotation selection tool. By default, annotation selection tool is enabled.

Note
This property will take effect immediately after modification.
Since
10.0.0

◆ enablePasting

boolean HandStateHandlerConfig::enablePasting

Specifies whether the paste functionality is enabled or disabled in the hand state. By default, the enablePasting property is set to true, enabling the ability to paste content, including both text and images. When set to false, users will not have the option to paste content into the PDF page.

Note
  • The "enablePasting" property only affects the paste functionality in "hand" state. It does not impact the PDFViewer.copyAnnots functionality or any other paste-related functionalities in other state of interaction.
  • In "hand" state, setting "enablePasting" to false will disable the ability to paste text and image, but the copy annotation functionality and other paste-related functionalities, such as programmatically accessing the PDFViewer.pasteAnnot API, remain unaffected.
Since
9.1.0

◆ enableTextSelectionTool

boolean HandStateHandlerConfig::enableTextSelectionTool

Whether to enable text selection tool. By default, text selection tool is enabled.

Note
This property will take effect immediately after modification.
Since
9.0.0

Foxit Software Corporation Logo
@2024 Foxit Software Incorporated. All rights reserved.