Export (0) Print
Expand All

VideoFormat.Stride Property

Silverlight

Gets the array stride that is used in the video format.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public int Stride { get; }

Property Value

Type: System.Int32
The array stride that is used in the video format.

In video, the stride represents the width, in bytes, of a row of the image. This value can be negative if the frame is rotated.

A stride with a negative value indicates that the image is upside down. You can flip the array in OnSample to get an image which is right-side up.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft