AddMessage method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AddMessage(AnsiString strMsg, AnsiString strPassword, AnsiString strFileName, const TPoint &ptStart);

Delphi Syntax

Function AddMessage (strMsg: String; strPassword: String; strFileName: String; ptStart: TPoint): L_INT;

Overview

Refer to Non-Image Data

Remarks

(Document/Medical only) Adds a message (text or file) to the bitmap currently loaded in the Main Control. (This bitmap is accessed through the Bitmap property (Main Control).)

The purpose of this method is for security since the message added will be embedded into the image without any visible changes and the resulting image has the same size as the original.

This method can add messages to any type of lossless image format such as bmp, tiff, lossless jpeg, and so forth. If used with lossy format types the message may be corrupted or lost.

This method supports 24- and 48-bit images, and 8- and 16-bit grayscale images.

To extract the embedded message use the ExtractMessage method.

This method supports signed data images.

See Also

Elements:

ExtractMessage method

Topics:

Raster Images: Getting and Setting File Information