copy Method

Summary

Copies the selected text to the clipboard

Syntax
TypeScript
JavaScript
DocumentViewerText.prototype.copy = function( 
   pageNumber 
) 
copy( 
   pageNumber: number 
): void; 

Parameters

pageNumber

Page number to use. If this value is 0, then the selected text of all pages in the document will be used.

Remarks

This method works by calling GetSelectedText and set the result in the clipboard if any value was found.

Requirements

Target Platforms

Help Version 22.0.2023.4.18
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.