WmpBitmapEncoder.VerticalTileSlices Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the number of vertical divisions to use during compression encoding. A single division creates two vertical regions.

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

public short VerticalTileSlices { get; set; }

Property Value

Type: System.Int16

The number of vertical divisions to use during compression encoding. The value range is 0 to 4095. The default is 0.

If CompressedDomainTranscode is true, VerticalTileSlices must be set to 0.

A tile created by the division can never be smaller than 16 pixels. The value is adjusted to maintain the minimum tile size.

When used in combination with HorizontalTileSlices, a grid of tiles is formed. For example, if both properties are set to 1, the image is divided into 4 tiles.

.NET Framework
Available since 3.0
Return to top
Show: