PGetLinkInfo

Gets the detailed link information of the selected object or text block.


Query results

const char * fFilename;
Name of linked file, including path
short cLinkTech;
0 for regular PageMaker-link technology
1 for object-link technology
2 for object-embed technology
3 for subscriber technology (Macintosh only)
const char * sKind;
Type of file
long nSize;
Size of file, in bytes
const char * sPlacedTime;
Date and time file placed in publication
const char * sModTime;
Modification date and time when placed in file
null if no modification has been made
const char * sInternalDateMod;
Date and time file modified in publication (text files only)
Empty string or -2. PageMaker returns an empty string for fFilename, sKind, sModTime, and sInternalDateMod and -2 for cLinkTech and nSize if you select: Date string formats. The format of the date strings (sPlacedTime, sModTime, sInternalDateMod) matches the format displayed in the Link Info dialog box. The format depends upon the language version of the system, not the lan guage version of PageMaker. In Windows, PageMaker obtains the format from the win.inifile. On the Macintosh, PageMaker reads the format from the international resource (INTL, ID=0) in the system. For example, when running under a Macintosh US English system, any language version of PageMaker returns the date and time in this format: 9/19/91, 11:30 AM.


See also

The PGetLinkOptions and PGetLinks queries

The PLinkOptions and PRelink commands



Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support