check document version
I have only a rudimentary knowledge of developing/programming and am looking to create a fairly simple plugin that can be called to check the illustrator version that a document was saved as. I've found this in the API:
/** Retrieves the version of the Illustrator file format in which
the current document was last saved. (Note that this function returns
a constant value, not an error code.)
@Return The version number, an \c #AIVersion value, or 0 if the
version is unknown or the file is not an AI file.
*/
AIAPI int (*GetAIVersion) ();
Other than that though, I don't even really know where to start. Any help would be greatly appreciate.
Thanks,
Chris