RegionOfInterest Classe

Definizione

Rappresenta un'area di interesse che è un'area rettangolare sull'immagine usata per le funzioni, ad esempio lo stato attivo e l'esposizione.

public ref class RegionOfInterest sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RegionOfInterest final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class RegionOfInterest final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RegionOfInterest
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class RegionOfInterest
function RegionOfInterest()
Public NotInheritable Class RegionOfInterest
Ereditarietà
Object Platform::Object IInspectable RegionOfInterest
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Commenti

Ottenere un'istanza di questa classe accedendo alla proprietà RegionOfInterest .

L'area di interesse specifica l'area rettangolare di anteprima in cui vengono calcolate funzioni quali lo stato attivo e l'esposizione. Ciò consente scenari come toccare per concentrarsi.

Costruttori

RegionOfInterest()

Crea una nuova istanza del controllo RegionOfInterest .

Proprietà

AutoExposureEnabled

Ottiene o imposta un valore che specifica se l'esposizione automatica è abilitata.

AutoFocusEnabled

Ottiene o imposta un valore che specifica se lo stato attivo automatico è abilitato.

AutoWhiteBalanceEnabled

Ottiene o imposta un valore che specifica se il bilanciamento automatico è abilitato.

Bounds

Ottiene o imposta il rettangolo che definisce l'area dello stato attivo.

BoundsNormalized

Ottiene o imposta un valore che indica se la proprietà Bounds Rect è in pixel o viene mappata a un intervallo compreso tra 0 e 1,0.

Type

Ottiene o imposta il tipo di area rappresentato dall'oggetto RegionOfInterest .

Weight

Ottiene o imposta il peso dell'area di interesse.

Si applica a

Vedi anche