Capture.FrameSize Property

DirectX.Capture

DirectX.Capture Class Library

Capture.FrameSize Property

Gets and sets the frame size used to capture video.

public System.Drawing.Size FrameSize {get; set;}

Remarks

To change the frame size, assign a new Size object to this property

capture.Size = new Size( w, h );
rather than modifying the size in place (capture.Size.Width = w;). Not all frame rates are supported.

Not all devices support getting/setting this property. If this property is not supported, accessing it will throw and exception.

This property cannot be changed while capturing. Changing this property while preview is enabled will cause some fickering while the internal filter graph is partially rebuilt. Changing this property while cued will cancel the cue. Call Cue() again to re-cue the capture.

See Also

Capture Class | Capture Members | DirectX.Capture Namespace