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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer Assembly