UIFontMetrics.GetScaledValue 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetScaledValue(nfloat) |
傳回從目前動態類型設定調整的版面配置高度。 |
GetScaledValue(nfloat, UITraitCollection) |
傳回從目前動態類型設定調整的版面配置高度。 |
GetScaledValue(nfloat)
傳回從目前動態類型設定調整的版面配置高度。
[Foundation.Export("scaledValueForValue:")]
public virtual nfloat GetScaledValue (nfloat value);
abstract member GetScaledValue : nfloat -> nfloat
override this.GetScaledValue : nfloat -> nfloat
參數
- value
- nfloat
物件的高度,其中包含動態類型標準大小的文字。
傳回
- 屬性
適用於
GetScaledValue(nfloat, UITraitCollection)
傳回從目前動態類型設定調整的版面配置高度。
[Foundation.Export("scaledValueForValue:compatibleWithTraitCollection:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nfloat GetScaledValue (nfloat value, UIKit.UITraitCollection traitCollection);
abstract member GetScaledValue : nfloat * UIKit.UITraitCollection -> nfloat
override this.GetScaledValue : nfloat * UIKit.UITraitCollection -> nfloat
參數
- value
- nfloat
物件的高度,其中包含動態類型標準大小的文字。
傳回
- 屬性