ImageGear Professional for Windows ActiveX
Text Stamp

The Text Stamp mark allows the end user to annotate documents and images with text.

Edit Mode:

In Edit mode, end users create this mark by clicking on the Text Stamp button with the left mouse button. Pressing the right mouse button after the mark is created activates the popup Edit menu, which allows you to enter the text of the stamp.

Description Text that contains a pre-defined string. The string may include, for example, the date and/or time that the mark was applied.
Attr Properties AttrBounds, AttrFont, AttrForeColor, AttrText, AttrDisablePPM, AttrTextAlign

There are several codes that can be embedded into the string stored into the szAnotText field of the ART_TEXTPRIVDATA structure of the ART_BLOCK_ANTEXT named block. You may use these code when setting the AttrText property. For 32-Bit Products:

%a: Abbreviated weekday name
%: A Full weekday name
%b: Abbreviated month name
%B: Full month name
%c: Local date and time representation appropriate
%d: Day of the month in decimal number (01 - 31) format
%H: Hour in the 24-hour format (00 - 23) format
%I: Hour in the 12-hour format (01 - 12) format
%j: Day of year as decimal number (001 - 366) format
%m: Month in decimal number (01 - 12) format
%M: Minute in decimal number (00 - 59) format
%p: Current locale's A.M./P.M. indicator for the 12-hour clock
%S: Seconds in decimal number (00 - 59) format
%U: Week of year in decimal number format, with Sunday as the first day of the week (00 - 51)
%w: Weekday in decimal number (0 - 6; Sunday is 0) format
%W Week of year in decimal number format, with Monday as the first day of the week (00 - 51)
%x Date representation for current locale
%X Time representation for current locale
%y Year without century, in decimal number (00 - 99) format
%Y Year with century, in decimal number format
%z,%Z Time-zone name or abbreviation; no characters if the time zone is unknown
%% Percent sign

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback