Gif.GetEncodeIteratorSize Method

PowerGif

DropDown image DropDownHover image Collapse image Expand image CollapseAll image ExpandAll image Copy image CopyHover image

Get parts count for EncodeIterator. Can be used with EncodeIterator to display progress bar. First part is first frame, penultimate part is GIF header, last part is ending. Thus it always return frame number plus 2. Performance notice: encoding is much 'expensive' operation than decoding.

Namespace: Assets.PowerGif
Assembly: Assembly-CSharp (in Assembly-CSharp.dll)

Expand  imageSyntax

Visual Basic (Declaration)
Public Function GetEncodeIteratorSize() As Integer
C#
public int GetEncodeIteratorSize()
C++
public:  
int GetEncodeIteratorSize()
JScript
public function GetEncodeIteratorSize() : int;

Return Value

Type: int

Expand image Version Information

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

Expand image See Also