FoxitPDFSDKforWeb
v9.2.0
Foxit PDF SDK for Web
|
Provides page edit functionality for document operations within the UIExtension. More...
Inherits UIXAddon.
Public Member Functions | |
activate (type) | |
Activate the page editor. More... | |
deactivate () | |
Deactivate the page editor. Must be called after activate. More... | |
getActiveObject () | |
onClick (pageIndex, point, isPDFPoint=true) | |
Trigger the click event. More... | |
Provides page edit functionality for document operations within the UIExtension.
|
inline |
Activate the page editor.
type | string - The type of the object to be edited. Supported types are: 'All', 'Text', 'Image', 'Path', 'Shading'. |
|
inline |
Deactivate the page editor. Must be called after activate.
|
inline |
Get the active graphics object.
|
inline |
Trigger the click event.
This function is recommended to be used in visibile pages.
pageIndex | number - The page index. |
point | Object - The point. If this is a device point, the point should be in the PDFViewer Port coordinate system. The PDF coordinates are recommended. |
point.x | number - The x coordinate. |
point.y | number - The y coordinate. |
isPDFPoint | boolean - Whether the point is a PDF point. Default is true. |