共用方式為


NSRulerView 建構函式

定義

多載

NSRulerView()
NSRulerView(CGRect)
NSRulerView(NSCoder)
NSRulerView(NSObjectFlag)
NSRulerView(IntPtr)
NSRulerView(NSScrollView, NSRulerOrientation)

NSRulerView()

[Foundation.Export("init")]
public 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
屬性

適用於