copy Method (DocumentViewerText)

Summary

Copies the selected text to the clipboard

Syntax

JavaScript Syntax
DocumentViewerText.prototype.copy = function(pageNumber)
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents.UI Assembly
Click or drag to resize