Helper class used by CanvasControl to limit the interactive movement of the viewport.Namespace: yWorks.Canvas
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 18.104.22.168
public class ViewportLimiter
Public Class ViewportLimiter
The ViewportLimiter instance should be consulted whenever the user tries to change the viewport. Using method LimitViewport(CanvasControl, RectD) the desired viewport can be validated by the implementation. Note that setting the Zoom property or ViewPoint property will not be influenced by implementations of this class. It is up to the caller to perform verification.