Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub OnScaleChanged( _ ByVal oldscale As Double, _ ByVal newscale As Double _ ) |
Parameters
- oldscale
- a
double
- newscale
- a
double
This may change the DiagramPanel.Position in order to maintain the desired content alignment. This method may be called during initialization even if the old and new scale values are the same. This respects the
UseLayoutRounding
property to round off the DiagramPanel.Position. This method calls OnViewportBoundsChanged.