How to count Tif file

I have a Tif file i need to count to number of page in TIF File

Hi @damodar99

Check this

PageCount As Integer

Dim theTIFF As Image = Image.FromFile(TifPath)

PageCount = theTIFF.GetFrameCount(FrameDimension.Page)

Print the page count


1 Like

Can you please share the any test .xml!

Hi Ashwin S2,

I can’t understand your code, Can you please send me any test xml you have

Hi @damodar99

Check this

Ashwin S

OCR_Tiff.xaml (11.1 KB)
Find the solutions