ScrollViewer.ZoomToFactor(Single) ScrollViewer.ZoomToFactor(Single) ScrollViewer.ZoomToFactor(Single) ScrollViewer.ZoomToFactor(Single) Method

Definition

Note

ZoomToFactor may be altered or unavailable for releases after Windows 8.1. Instead, use ChangeView.

Sets the effective value of ZoomFactor.

public : void ZoomToFactor(float factor)
void ZoomToFactor(Single factor) const;
public void ZoomToFactor(Single factor)
Public Sub ZoomToFactor(factor As Single)

Parameters

factor
Single Single

The zoom factor to set. The factors are based on a norm of 1.0, which represents no zoom applied. The values you can set are also influenced by current values for MinZoomFactor and MaxZoomFactor.