Interface IVFResize
Video resize interface.
Namespace: VisioForge.ProcessingFilters.Interfaces
Assembly: VisioForge.ProcessingFilters.Interfaces.dll
Syntax
[Guid("12BC6F20-2812-4660-8684-10F3FD3B4487")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVFResize
Methods
put_Crop(UInt32, UInt32, UInt32, UInt32)
Sets crop coordinates.
Declaration
int put_Crop(uint left, uint top, uint right, uint bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | left | Left. |
| System.UInt32 | top | Top. |
| System.UInt32 | right | Right. |
| System.UInt32 | bottom | Bottom. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
put_FilterMode(VFResizeFilterMode)
Sets filter mode.
Declaration
int put_FilterMode(VFResizeFilterMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| VFResizeFilterMode | mode | Filter mode. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
put_ResizeMode(VFResizeMode, Boolean)
Sets resize mode.
Declaration
int put_ResizeMode(VFResizeMode mode, bool letterbox)
Parameters
| Type | Name | Description |
|---|---|---|
| VFResizeMode | mode | Resize mode. |
| System.Boolean | letterbox | Letterbox mode. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
put_Resolution(UInt32, UInt32)
Sets resolution.
Declaration
int put_Resolution(uint x, uint y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | x | X. |
| System.UInt32 | y | Y. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |
put_RotateMode(VFRotateMode)
Sets rotate mode.
Declaration
int put_RotateMode(VFRotateMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| VFRotateMode | mode | Rotate mode. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns HRESULT. |