ScriptUtilGetImageFrameCount Method | |
Gets the number of frames in a multi-framed image file.
Namespace:
Compiled.EDD.Scripting
Assembly:
Compiled.EDD.Scripting (in Compiled.EDD.Scripting.dll) Version: 7.6.1.3-5cb5c356
Syntax public static int GetImageFrameCount(
string imageFile
)
Parameters
- imageFile
- Type: SystemString
The image file to check.
Return Value
Type:
Int32The number of frames (i.e. pages) in a image file.
Exceptions Exception | Condition |
---|
NotSupportedException | Thrown if the script library was not initialized correctly. |
Remarks Use this to get the number of pages in a PDF or TIFF file.
See Also