IWMEncVideoSource.CroppingMode
![]() |
The CroppingMode property specifies and retrieves a value indicating the image cropping mode.
Syntax
WMENC_CROPPING_MODE = IWMEncVideoSource.CroppingMode;
IWMEncVideoSource.CroppingMode = WMENC_CROPPING_MODE;
Parameters
This property takes no parameters.
Property Value
A member of the WMENC_CROPPING_MODE enumeration type that indicates the cropping mode.
If this property fails, it returns an error number.
Number | Description |
0xC00D0011 | This property cannot be set while the encoder engine is running. |
Requirements
Reference: Windows Media Encoder
Namespace: WMEncoderLib
Assembly: Interop.WMEncoderLib.dll
Library: WMEncoderLib.dll
See Also