NSValue.FromCGSize(CGSize) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Export("valueWithCGSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSValue FromCGSize(CoreGraphics.CGSize size);
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[Foundation.Export("valueWithSize:")]
public static Foundation.NSValue FromCGSize(CoreGraphics.CGSize size);
[<Foundation.Export("valueWithCGSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromCGSize : CoreGraphics.CGSize -> Foundation.NSValue
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<Foundation.Export("valueWithSize:")>]
static member FromCGSize : CoreGraphics.CGSize -> Foundation.NSValue
Parameters
- size
- CGSize
Returns
- Attributes