AnnotationStampText Property

Example-VB Example-VC++

Returns or sets the format of the stamp text to be placed on an image by a Text Stamp annotation.  The stamp text can consist of text, text macro(s), or a combination of both.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Annotation Tool Button control, Image Edit control

Syntax

object.AnnotationStampText[=stamp]

Data Type

String

Remarks

Text is placed on the image when one of the following events occurs:

The stamp text can include the following text macros:

Macro Description

%b Alphabetic abbreviation of the month; for example, Jan
%B Alphabetic full name of the month; for example, January
%d ASCII numeric day of the month, ranging from 1 to 31
%H ASCII time in a 24-hour, hh:mm format;
where:

hh = hour
mm = minute

%I ASCII time in a 12-hour, hh:mm Xm format;
where:

hh = hour
mm = minute
Xm = AM or PM

%m ASCII numeric designation of the month, ranging from 1 to 12 for January through December respectively
%x Default Windows date format
%X Default Windows time format
%y ASCII numeric last two digits of the year; for example, 97 for 1997
%Y ASCII numeric full year; for example, 1997

Examples

      Time: %I Date: %d-%B-%y
      Time: 10:38 pm Date: 07-November-97
      Time: %H Date: %d-%B-%y
      Time: 22:38 Date: 07-November-97