Name | CNSImage_Import |
---|
Description | The CNSImage_Import function allows you to easily import images into FileMaker. You can import by specifying a path to an image as well as using a dialog box to navigate to a desired image.
|
---|
Return Type | Container |
---|
Format | CNSImage_Import ( Path ; TypeList ; Prompt ) |
---|
Optional Parameters | - Path
The Path and File Name of the Image to Import. (Specify “” or only a Path to display Open File Dialog).
- TypeList
-
- Prompt
A message to be displayed in the Open File Dialog.
|
---|
Examples | - Example 1
A dialog is shown to choose an image. CNSImage_Import
- Example 2
A dialog is shown to choose a file starting at the folder "/volume/folder/" CNSImage_Import( "/volume/folder/")
- Example 3
A dialog is shown to choose a file limited to JPG and PNG image types. CNSImage_Import( "" ; "JPG¶PNG" )
- Example 4
A dialog is shown to choose a file limited to JPG images with the prompt: "Please choose a JPG image:". CNSImage_Import( "" ; "JPG" ; "Please choose a JPG image:" )
- Example 5
A dialog is shown to choose any type of image with the prompt: "Choose any image...". CNSImage_Import( "" ; "" ; "Choose any image...." )
|
---|