NSRulerView 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSRulerView() | |
NSRulerView(CGRect) | |
NSRulerView(NSCoder) | |
NSRulerView(NSObjectFlag) | |
NSRulerView(IntPtr) | |
NSRulerView(NSScrollView, NSRulerOrientation) |
NSRulerView()
NSRulerView(CGRect)
[Foundation.Export("initWithFrame:")]
public NSRulerView (CoreGraphics.CGRect frameRect);
new AppKit.NSRulerView : CoreGraphics.CGRect -> AppKit.NSRulerView
參數
- frameRect
- CGRect
- 屬性
適用於
NSRulerView(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSRulerView (Foundation.NSCoder coder);
new AppKit.NSRulerView : Foundation.NSCoder -> AppKit.NSRulerView
參數
- coder
- NSCoder
- 屬性
適用於
NSRulerView(NSObjectFlag)
protected NSRulerView (Foundation.NSObjectFlag t);
new AppKit.NSRulerView : Foundation.NSObjectFlag -> AppKit.NSRulerView
參數
適用於
NSRulerView(IntPtr)
protected internal NSRulerView (IntPtr handle);
new AppKit.NSRulerView : nativeint -> AppKit.NSRulerView
參數
- handle
-
IntPtr
nativeint
適用於
NSRulerView(NSScrollView, NSRulerOrientation)
[Foundation.Export("initWithScrollView:orientation:")]
[ObjCRuntime.DesignatedInitializer]
public NSRulerView (AppKit.NSScrollView scrollView, AppKit.NSRulerOrientation orientation);
new AppKit.NSRulerView : AppKit.NSScrollView * AppKit.NSRulerOrientation -> AppKit.NSRulerView
參數
- scrollView
- NSScrollView
- orientation
- NSRulerOrientation
- 屬性