Compartilhar via


ScrollViewer.ZoomToFactor(Single) Método

Definição

Observação

ZoomToFactor pode estar alterado ou indisponível para versões após Windows 8.1. Em vez disso, use ChangeView.

Define o valor efetivo de 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)

Parâmetros

factor
Single

float

O fator de zoom a ser definido. Os fatores são baseados em uma norma de 1,0, que não representa nenhum zoom aplicado. Os valores que você pode definir também são influenciados pelos valores atuais de MinZoomFactor e MaxZoomFactor.

Atributos

Aplica-se a