$(cpicName) Help - Text Macro Characters

Text macros allow you to insert variables into certain text strings in . These text macros can be used in Picture Indexes to allow for specific information to be displayed for each file. | --></phtml>

Text Macro Characters Use the text macros like you would any other word. When the text is added by it will be replaced with the correct information.

Macro | Description
\F | Filename including extension
\f | Filename only (no extension)
\e | Extension only (no filename)
\R | Full image resolution (pixels)
\w | Width in pixels
\h | Height in pixels
\c | Number of colors
\b | Number of bits per pixel
\P | Total number of pages
\p | Current page number
\s | File size in bytes
\S | File size in K (kilobytes)
\d | Full directory name (without trailing backslash)
\D | Full directory name (with trailing backslash)
\\ | Single backslash character ('\')

Text Macro Samples

Enter This | To Get This
Page \p of \P | Page 1 of 12
This file is: \F | This file is: image6538.jpg
\e image - \w x \h - \c colors | jpg image - 350 x 200 - 256 colors

Related Topics <#if win>

- Printing Images <#endif>
- Creating Picture Indexes
- Saving Picture Indexes as Files