ZoomAndPanControlScaleToFit - метод
Instantly scale the content so that it fits completely in the control.
Пространство имён: Tessa.UI.Controls.ZoomingСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public void ScaleToFit(
PreviewScalingType type = PreviewScalingType.WidthAndHeight,
double additionalSpacing = 10
)
Public Sub ScaleToFit (
Optional type As PreviewScalingType = PreviewScalingType.WidthAndHeight,
Optional additionalSpacing As Double = 10
)
public:
void ScaleToFit(
PreviewScalingType type = PreviewScalingType::WidthAndHeight,
double additionalSpacing = 10
)
member ScaleToFit :
?type : PreviewScalingType *
?additionalSpacing : float
(* Defaults:
let _type = defaultArg type PreviewScalingType.WidthAndHeight
let _additionalSpacing = defaultArg additionalSpacing 10
*)
-> unit
Параметры
- type PreviewScalingType (Optional)
-
- additionalSpacing Double (Optional)
-