![]() |
![]() |
![]() |
|
[
About the Wizard's Toolkit ] [ Application Program Interface ] [ Install from Source Unix Windows Binary Releases Unix Windows ] [ Download ] |
AppendFileExtension() appends a file extension type to the filename. If an extension to the file already exists, it is first removed. The extension of the AppendFileExtension method is: void AppendFileExtension(const char *extension,char *filename) A description of each parameter follows. extensionSpecifies a pointer to an array of characters. This is the extension of the image. filenameSpecifies a pointer to an array of characters. The unique file name is returned in this array. ChopPathComponents() removes the number of specified file components from a path. The format of the ChopPathComponents method is: ChopPathComponents(char *path,unsigned long components) A description of each parameter follows: pathThe path. componentsThe number of components to chop. GetPathComponents() returns a list of path components. The format of the GetPathComponents method is:
char **GetPathComponents(const char *path,
unsigned long *number_componenets)
A description of each parameter follows: pathSpecifies the string to segment into a list. number_componentsreturn the number of components in the list GetExecutionPath() returns the pathname of the executable that started the process. On success WizardTrue is returned, otherwise WizardFalse. The format of the GetExecutionPath method is: WizardBooleanType GetExecutionPath(char *path) A description of each parameter follows: pathThe pathname of the executable that started the process. IsAccessible() returns WizardTrue if the file as defined by the path is accessible. The format of the IsAccessible method is: WizardBooleanType IsAccessible(const char *filename) A description of each parameter follows. pathSpecifies a path to a file. IsWizardTrue() returns WizardTrue if the value is "true", "on", "yes" or "1". The format of the IsWizardTrue method is: WizardBooleanType IsWizardTrue(const char *value) A description of each parameter follows: optioneither WizardTrue or WizardFalse depending on the value parameter. valueSpecifies a pointer to a character array. |