ToolTipsFactory |
This function returns a the file-size of the FrameImage in bytes.
[Visual Basic] Public Function GetImageFileSize() As Long
[C#] public long GetImageFileSize();
Parameters
none
Return value
The file-size of the FrameImage in bytes as a Long value.
Description
This function determines the size of the file, if the image would be saved into a file.
'Create a new AnimationFrame
Dim myFrame As AnimationFrame
Dim myImage As Image = Image.FromFile("C:\Temp\Photo1.jpg")
myFrame = New AnimationFrame(myImage)
'write the file-size of the image to the debug-window.
Debug.WriteLine("File-size: " & myFrame.GetImageFileSize())