ZoomAndPanControlAnimatedScaleToFit - метод |
Do animation that scales the content so that it fits completely in the control.
Пространство имён:
Tessa.UI.Controls.Zooming
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис public void AnimatedScaleToFit(
PreviewScalingType type = PreviewScalingType.WidthAndHeight,
double additionalSpacing = 10
)
Public Sub AnimatedScaleToFit (
Optional type As PreviewScalingType = PreviewScalingType.WidthAndHeight,
Optional additionalSpacing As Double = 10
)
public:
void AnimatedScaleToFit(
PreviewScalingType type = PreviewScalingType::WidthAndHeight,
double additionalSpacing = 10
)
member AnimatedScaleToFit :
?type : PreviewScalingType *
?additionalSpacing : float
(* Defaults:
let _type = defaultArg type PreviewScalingType.WidthAndHeight
let _additionalSpacing = defaultArg additionalSpacing 10
*)
-> unit
Параметры
- type (Optional)
- Тип: Tessa.UI.Controls.ZoomingPreviewScalingType
- additionalSpacing (Optional)
- Тип: SystemDouble
См. также