Share via


NSScrollView.FrameSizeForContentSize Method

Definition

[Foundation.Export("frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreGraphics.CGSize FrameSizeForContentSize(CoreGraphics.CGSize cSize, bool hFlag, bool vFlag, AppKit.NSBorderType aType);
[<Foundation.Export("frameSizeForContentSize:hasHorizontalScroller:hasVerticalScroller:borderType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FrameSizeForContentSize : CoreGraphics.CGSize * bool * bool * AppKit.NSBorderType -> CoreGraphics.CGSize

Parameters

cSize
CGSize
hFlag
Boolean
vFlag
Boolean
aType
NSBorderType

Returns

Attributes

Applies to