CropTarget Class
An element that the capture of the tab of its document can be cropped to (https://w3c.github.io/mediacapture-region/#dom-croptarget). The capture backend of the library captures no tab: the targets cannot be used to crop a track.
public sealed class CropTargetMethods
| Name | Description |
|---|---|
| FromElement(Element) | Creates the crop target of an element (https://w3c.github.io/mediacapture-region/#dom-croptarget-fromelement). |
FromElement(Element)
CaptureHandle.csCreates the crop target of an element (https://w3c.github.io/mediacapture-region/#dom-croptarget-fromelement).
public static Task<CropTarget> FromElement(Element element)