Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
VerticalTileSlices Property

WmpBitmapEncoder.VerticalTileSlices Property

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)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

public short VerticalTileSlices { get; set; }
<object VerticalTileSlices="short" .../>

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft