encrypt Method

Summary

Scrambles the pixel data of the image at the specified location and size using a key.

Syntax
TypeScript
JavaScript
AnnDataProvider.prototype.encrypt = function( 
   container, 
   bounds, 
   key 
) 
encrypt( 
   container: AnnContainer, 
   bounds: LeadRectD, 
   key: number 
): void; 

Parameters

container

The reference AnnContainer.

bounds

The location and size in container on where to scramble the image data. This is in container coordinates.

key

The key to use for the scramble operation.

Remarks

Encrypt is called to scramble the image data using a key. The same key is used when Decrypt is called de-scramble the data. Refer to AnnDataProvider for more information.

Requirements

Target Platforms

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

Leadtools.Annotations.Engine Assembly