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

WmpBitmapEncoder.UseCodecOptions Property

Gets or sets a value that indicates codec options are to be used.

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 bool UseCodecOptions { get; set; }
<object UseCodecOptions="bool" .../>

Property Value

Type: System.Boolean
true if codec options are to be used; otherwise, false. The default is false.

When UseCodecOptions is true, QualityLevel, OverlapLevel, and SubsamplingLevel are used in place of the ImageQualityLevel.

When UseCodecOptions is false, QualityLevel, OverlapLevel, and SubsamplingLevel are set based on ImageQualityLevel.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft