Click or drag to resize

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
C#
public static int GetImageFrameCount(
	string imageFile
)

Parameters

imageFile
Type: SystemString
The image file to check.

Return Value

Type: Int32
The number of frames (i.e. pages) in a image file.
Exceptions
ExceptionCondition
NotSupportedExceptionThrown 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