WmpBitmapEncoder.HorizontalTileSlices Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the number of horizontal divisions to use during compression encoding. A single division creates two horizontal regions.
public:
property short HorizontalTileSlices { short get(); void set(short value); };
public short HorizontalTileSlices { get; set; }
member this.HorizontalTileSlices : int16 with get, set
Public Property HorizontalTileSlices As Short
The number of horizontal divisions to use during compression encoding. The value range is 0 to 4095. The default is 0.
If CompressedDomainTranscode is true
, HorizontalTileSlices 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 VerticalTileSlices, a grid of tiles is formed. For example, if both properties are set to 1, the image is divided into 4 tiles.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: