ImageFile.Duration Property

Gets the image duration (0 for still files).

Namespace: Microsoft.Expression.Encoder
Assembly: Microsoft.Expression.Encoder (in microsoft.expression.encoder.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Duration As TimeSpan
'Usage
Dim instance As ImageFile
Dim value As TimeSpan

value = instance.Duration
public override TimeSpan Duration { get; }
public:
virtual property TimeSpan Duration {
    TimeSpan get () override;
}

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

ImageFile Class
ImageFile Members
Microsoft.Expression.Encoder Namespace