encrypt Method (AnnDataProvider)

Summary

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

Syntax

JavaScript Syntax
AnnDataProvider.prototype.encrypt = function(container, bounds, key)
TypeScript Syntax
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

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