'Declaration Public Overloads Sub ZoomTo( _ ByVal scale As Double, _ ByVal relativeTo As Point _ )
'Usage Dim instance As Zoombox Dim scale As Double Dim relativeTo As Point instance.ZoomTo(scale, relativeTo)
public void ZoomTo( double scale, Point relativeTo )
Parameters
- scale
- The scale factor for the content. A value of 1 represents the actual content size. A value greater than 1 will cause the content to zoom in (scale up) and a value less than 1 will cause it to zoom out (scale down).
- relativeTo
- The point that will serve as the anchor for the zoom operation. It will remain stationary as the content scales around it. The supplied point must be specified in the coordinate space of the content.