NSTextContainer 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSTextContainer() | |
NSTextContainer(CGSize) | |
NSTextContainer(NSCoder) | |
NSTextContainer(NSObjectFlag) | |
NSTextContainer(IntPtr) |
NSTextContainer()
NSTextContainer(CGSize)
[ObjCRuntime.Obsoleted(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use NSTextContainer.FromSize instead.")]
public NSTextContainer (CoreGraphics.CGSize size);
new AppKit.NSTextContainer : CoreGraphics.CGSize -> AppKit.NSTextContainer
參數
- size
- CGSize
- 屬性
適用於
NSTextContainer(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSTextContainer (Foundation.NSCoder coder);
new AppKit.NSTextContainer : Foundation.NSCoder -> AppKit.NSTextContainer
參數
- coder
- NSCoder
- 屬性
適用於
NSTextContainer(NSObjectFlag)
protected NSTextContainer (Foundation.NSObjectFlag t);
new AppKit.NSTextContainer : Foundation.NSObjectFlag -> AppKit.NSTextContainer
參數
適用於
NSTextContainer(IntPtr)
protected internal NSTextContainer (IntPtr handle);
new AppKit.NSTextContainer : nativeint -> AppKit.NSTextContainer
參數
- handle
-
IntPtr
nativeint