Condividi tramite


ScrollViewer.ZoomToFactor(Single) Metodo

Definizione

Nota

ZoomToFactor può essere modificato o non disponibile per le versioni dopo Windows 8.1. Usare invece ChangeView.

Imposta il valore effettivo di ZoomFactor.

public:
 virtual void ZoomToFactor(float factor) = ZoomToFactor;
/// [Windows.Foundation.Metadata.Deprecated("ZoomToFactor may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
void ZoomToFactor(float const& factor);
/// [Windows.Foundation.Metadata.Deprecated("ZoomToFactor may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
void ZoomToFactor(float const& factor);
[Windows.Foundation.Metadata.Deprecated("ZoomToFactor may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public void ZoomToFactor(float factor);
[Windows.Foundation.Metadata.Deprecated("ZoomToFactor may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public void ZoomToFactor(float factor);
function zoomToFactor(factor)
Public Sub ZoomToFactor (factor As Single)

Parametri

factor
Single

float

Fattore di zoom da impostare. I fattori si basano su una norma di 1,0, che non rappresenta alcuno zoom applicato. I valori che è possibile impostare sono influenzati anche dai valori correnti per MinZoomFactor e MaxZoomFactor.

Attributi

Si applica a