Results 1 to 3 of 3

Thread: Can't get GetFrameCount to work

  1. #1

    Thread Starter
    Member
    Join Date
    May 2001
    Posts
    57

    Can't get GetFrameCount to work

    I would like to write a function to get the number of frames an animated gif file contains.


    there's a method called getframecount in the bitmaps members but i don't know how to get it work

    dim AnimGif as bitmaps

    msgbox (AnimGif.GetFrameCount( Arg FrameDimension))

    i've toyed around it but i can't manage to get the right arguments needed for this method, can anyone help me out on this?

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Dim a As Integer
    a = newimg.GetFrameCount(System.Drawing.Imaging.FrameDimension.Time)
    MessageBox.Show(a)
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Member
    Join Date
    May 2001
    Posts
    57

    Thanks

    Thanks alot, you are the reulest

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width