Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetFramesFromFile

GetFramesFromFile method

Returns the number of frames (or pages) of the specified file.

Syntax

Number GetFramesFromFile(strFile As String, bWebFilter As Boolean)

Return value

Returns the number of pages (frames in the file).

Parameters

ParameterTypeRequiredDescription
strFileStringYesString containing the path of the file.
bWebFilterBooleanNoOptional parameter which enables or disables the internet filter. If this parameter is true only web formats are accepted (GIF, JPEG, PNG).

Category

Properties

See also

GetBase64String | GetBitsPerPixelFromFile | GetFormatAsStringFromFile | GetFormatFromFile | GetFormatFromString | GetGUID | GetHasMultipleFramesFromFile | GetHeightFromFile | GetInfoFromFile | GetInfoFromURL | GetIsAnimatedFromFile | GetIsCMYKFromFile | GetIsSupportedFromFile | GetMegaPixelsFromFile | GetMIMEFromFile | GetMIMEFromFormat | GetWidthFromFile | SetBackgroundColor | SetFormat | SetFormatDefault | SetPixel | SetTransparency