共用方式為


NSImage.GetRecommendedLayerContentsScale(nfloat) 方法

定義

[Foundation.Export("recommendedLayerContentsScale:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nfloat GetRecommendedLayerContentsScale (nfloat preferredContentsScale);
abstract member GetRecommendedLayerContentsScale : nfloat -> nfloat
override this.GetRecommendedLayerContentsScale : nfloat -> nfloat

參數

preferredContentsScale
nfloat

傳回

屬性

適用於