ZoomAndPanControlScaleToFit - метод |
Instantly scale 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 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 (Optional)
- Тип: Tessa.UI.Controls.ZoomingPreviewScalingType
- additionalSpacing (Optional)
- Тип: SystemDouble
См. также