Shows a window displaying the definition of the specified range of the attributed string.
Original signature is '- (void)showDefinitionForAttributedString:(NSAttributedString *)attrString range:(NSRange)targetRange options:(NSDictionary *)options baselineOriginProvider:(NSPoint (^)(NSRange adjustedRange))originProvider'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void ShowDefinitionForAttributedStringRangeOptionsBaselineOriginProvider( NSAttributedString attrString, NSRange targetRange, NSDictionary options, Func<NSRange, NSPoint> originProvider )
Public Overridable Sub ShowDefinitionForAttributedStringRangeOptionsBaselineOriginProvider ( _ attrString As NSAttributedString, _ targetRange As NSRange, _ options As NSDictionary, _ originProvider As Func(Of NSRange, NSPoint) _ )
public: virtual void ShowDefinitionForAttributedStringRangeOptionsBaselineOriginProvider( NSAttributedString^ attrString, NSRange targetRange, NSDictionary^ options, Func<NSRange, NSPoint>^ originProvider )
Parameters
- attrString (NSAttributedString)
- The attributed string for which to show the definition. If the receiver is an instance of NSTextView, the attrString can be nil, in which case the text view will automatically supply values suitable for displaying definitions for the specified range within its text content.
- targetRange (NSRange)
- MISSING
- options (NSDictionary)
- An optional dictionary that specifies how the definition is displayed. See “NSDefinition Presentation Constants” for the key and it’s possible values.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)