NSAttributedString
NSAttributedString()
NSAttributedString(NativeHandle)
NSAttributedString(NSAttributedString)
NSAttributedString(NSCoder)
NSAttributedString(NSObjectFlag)
NSAttributedString(String)
NSAttributedString(NSData, NSDictionary)
NSAttributedString(NSData, NSError)
NSAttributedString(NSFileWrapper, NSDictionary)
NSAttributedString(NSUrl, NSDictionary)
NSAttributedString(NSUrl, NSError)
NSAttributedString(String, CTStringAttributes)
NSAttributedString(String, NSDictionary)
NSAttributedString(String, NSDictionary)
NSAttributedString(String, NSStringAttributes)
NSAttributedString(String, UIStringAttributes)
NSAttributedString(NSData, NSAttributedStringDocumentAttributes, NSDictionary)
NSAttributedString(NSData, NSAttributedStringDocumentAttributes, NSError)
NSAttributedString(NSData, NSDictionary, NSDictionary)
NSAttributedString(NSData, NSUrl, NSDictionary)
NSAttributedString(NSUrl, NSAttributedStringDocumentAttributes, NSError)
NSAttributedString(NSData, NSAttributedStringDocumentAttributes, NSDictionary, NSError)
NSAttributedString(NSData, NSAttributedStringMarkdownParsingOptions, NSUrl, NSError)
NSAttributedString(NSData, NSDictionary, NSDictionary, NSError)
NSAttributedString(NSUrl, NSAttributedStringDocumentAttributes, NSDictionary, NSError)
NSAttributedString(NSUrl, NSAttributedStringMarkdownParsingOptions, NSUrl, NSError)
NSAttributedString(NSUrl, NSDictionary, NSDictionary, NSError)
NSAttributedString(String, NSAttributedStringMarkdownParsingOptions, NSUrl, NSError)
NSAttributedString(String, UIFont, UIColor, UIColor, UIColor, NSParagraphStyle, NSLigatureType, Single, NSUnderlineStyle, NSShadow, Single, NSUnderlineStyle)
NSAttributedString(String, NSFont, NSColor, NSColor, NSColor, NSColor, NSColor, NSUnderlineStyle, NSUnderlineStyle, NSParagraphStyle, Single, NSShadow, NSUrl, Boolean, NSTextAttachment, NSLigatureType, Single, Single, Single, Single, NSCursor, String, Int32, NSGlyphInfo, NSArray, Boolean, NSTextLayoutOrientation, NSTextAlternatives, NSSpellingState)
AttributedStringByInflectingString
ClassHandle
CocoaVersionDocumentAttribute
ContainsAttachments
Length
LowLevelValue
ReadableTypeIdentifiers
Size
SourceTextScalingDocumentAttribute
TextLayoutSectionOrientation
TextLayoutSectionRange
TextLayoutSectionsAttribute
TextScalingDocumentAttribute
UnderlineByWordMaskAttributeName
Value
WritableTypeIdentifiers
WritableTypeIdentifiersForItemProvider
BoundingRectWithSize(CGSize, NSStringDrawingOptions)
ContainsAttachmentsInRange(NSRange)
Copy(NSZone)
Create(NSData, NSError)
Create(NSUrl, NSError)
Create(NSData, NSAttributedStringDocumentAttributes, NSError)
Create(NSUrl, NSAttributedStringDocumentAttributes, NSError)
Create(NSData, NSAttributedStringDocumentAttributes, NSDictionary, NSError)
Create(NSData, NSAttributedStringMarkdownParsingOptions, NSUrl, NSError)
Create(NSData, NSDictionary, NSDictionary, NSError)
Create(NSUrl, NSAttributedStringDocumentAttributes, NSDictionary, NSError)
Create(NSUrl, NSAttributedStringMarkdownParsingOptions, NSUrl, NSError)
Create(NSUrl, NSDictionary, NSDictionary, NSError)
Create(String, NSAttributedStringMarkdownParsingOptions, NSUrl, NSError)
Create(NSAdaptiveImageGlyph, NSDictionary<NSString, NSObject>)
Create(NSAdaptiveImageGlyph, NSDictionary<NSString, NSObject>)
CreateWithDocFormat(NSData, NSDictionary)
CreateWithHTML(NSData, NSDictionary)
CreateWithRTF(NSData, NSDictionary)
CreateWithRTFD(NSData, NSDictionary)
DoubleClick(nuint)
DrawString(CGPoint)
DrawString(CGRect)
DrawString(CGRect, NSStringDrawingOptions)
DrawString(CGRect, NSStringDrawingOptions, NSStringDrawingContext)
EncodeTo(NSCoder)
EnumerateAttribute(NSString, NSRange, NSAttributedStringEnumeration, NSAttributedStringCallback)
EnumerateAttributes(NSRange, NSAttributedStringEnumeration, NSAttributedRangeCallback)
FromAttachment(NSTextAttachment)
FromAttachment(NSTextAttachment)
FromAttachment(NSTextAttachment, NSDictionary<NSString, NSObject>)
FromAttachment(NSTextAttachment, NSDictionary<NSString, NSObject>)
GetAppKitAttributes(nint, NSRange)
GetAppKitAttributes(nint, NSRange, NSRange)
GetAttribute(String, nint, NSRange)
GetAttribute(String, nint, NSRange, NSRange)
GetAttributes(nint, NSRange)
GetAttributes(nint, NSRange, NSRange)
GetBoundingRect(CGSize, NSStringDrawingOptions, NSStringDrawingContext)
GetCoreTextAttributes(nint, NSRange)
GetCoreTextAttributes(nint, NSRange, NSRange)
GetData(NSRange, NSAttributedStringDocumentAttributes, NSError)
GetData(NSRange, NSDictionary, NSError)
GetDataFromRange(NSRange, NSAttributedStringDocumentAttributes, NSError)
GetDataFromRange(NSRange, NSDictionary, NSError)
GetDocFormat(NSRange, NSAttributedStringDocumentAttributes)
GetDocFormat(NSRange, NSDictionary)
GetFileWrapper(NSRange, NSAttributedStringDocumentAttributes, NSError)
GetFileWrapper(NSRange, NSDictionary, NSError)
GetFileWrapperFromRange(NSRange, NSAttributedStringDocumentAttributes, NSError)
GetFileWrapperFromRange(NSRange, NSDictionary, NSError)
GetFontAttributes(NSRange)
GetItemNumber(NSTextList, nuint)
GetItemProviderVisibilityForTypeIdentifier(String)
GetLineBreak(nuint, NSRange)
GetLineBreakByHyphenating(nuint, NSRange)
GetNextWord(nuint, Boolean)
GetObject(NSData, String, NSError)
GetPasteboardPropertyListForType(String)
GetRange(NSTextBlock, nuint)
GetRange(NSTextList, nuint)
GetRange(NSTextTable, nuint)
GetReadableTypesForPasteboard(NSPasteboard)
GetReadingOptionsForType(String, NSPasteboard)
GetRtf(NSRange, NSAttributedStringDocumentAttributes)
GetRtf(NSRange, NSDictionary)
GetRtfd(NSRange, NSAttributedStringDocumentAttributes)
GetRtfd(NSRange, NSDictionary)
GetRtfdFileWrapper(NSRange, NSAttributedStringDocumentAttributes)
GetRtfdFileWrapper(NSRange, NSDictionary)
GetRulerAttributes(NSRange)
GetUIKitAttributes(nint, NSRange)
GetUIKitAttributes(nint, NSRange, NSRange)
GetUrl(nuint, NSRange)
GetWritableTypesForPasteboard(NSPasteboard)
GetWritingOptionsForType(String, NSPasteboard)
IsEqual(NSAttributedString)
LoadData(String, Action<NSData, NSError>)
LoadDataAsync(String)
LoadDataAsync(String, NSProgress)
LoadFromHtml(NSData, NSAttributedStringDocumentAttributes, NSAttributedStringCompletionHandler)
LoadFromHtml(NSData, NSDictionary, NSAttributedStringCompletionHandler)
LoadFromHtml(NSUrl, NSAttributedStringDocumentAttributes, NSAttributedStringCompletionHandler)
LoadFromHtml(NSUrl, NSDictionary, NSAttributedStringCompletionHandler)
LoadFromHtml(NSUrlRequest, NSAttributedStringDocumentAttributes, NSAttributedStringCompletionHandler)
LoadFromHtml(NSUrlRequest, NSDictionary, NSAttributedStringCompletionHandler)
LoadFromHtml(String, NSAttributedStringDocumentAttributes, NSAttributedStringCompletionHandler)
LoadFromHtml(String, NSDictionary, NSAttributedStringCompletionHandler)
LoadFromHtmlAsync(NSData, NSAttributedStringDocumentAttributes)
LoadFromHtmlAsync(NSData, NSDictionary)
LoadFromHtmlAsync(NSUrl, NSAttributedStringDocumentAttributes)
LoadFromHtmlAsync(NSUrl, NSDictionary)
LoadFromHtmlAsync(NSUrlRequest, NSAttributedStringDocumentAttributes)
LoadFromHtmlAsync(NSUrlRequest, NSDictionary)
LoadFromHtmlAsync(String, NSAttributedStringDocumentAttributes)
LoadFromHtmlAsync(String, NSDictionary)
LowLevelGetAttributes(nint, nint)
LowLevelGetAttributes(nint, NSRange)
MutableCopy(NSZone)
PrefersRtfdInRange(NSRange)
Substring(nint, nint)
BoundingRectWithSize(NSAttributedString, CGSize, NSStringDrawingOptions, NSStringDrawingContext)
ContainsAttachments(NSAttributedString, NSRange)
DrawAtPoint(NSAttributedString, CGPoint)
DrawInRect(NSAttributedString, CGRect)
DrawWithRect(NSAttributedString, CGRect, NSStringDrawingOptions, NSStringDrawingContext)
GetSize(NSAttributedString)
TrimToMaxLength(NSAttributedString, Int32)
WithCharacterSpacing(NSAttributedString, Double)
WithDecorations(NSAttributedString, TextDecorations)
WithLineHeight(NSAttributedString, Double)
net10.0-macos14.2
namespace Foundation
{
[Register("NSAttributedString", true)]
public class NSAttributedString : NSObject, INSPasteboardReading, INSPasteboardWriting, INSCoding, INSCopying, INSMutableCopying, INSSecureCoding, INativeObject, IDisposable
{
public NSAttributedString(string! str, NSFont? font = null, NSColor? foregroundColor = null, NSColor? backgroundColor = null, NSColor? strokeColor = null, NSColor? underlineColor = null, NSColor? strikethroughColor = null, NSUnderlineStyle underlineStyle = NSUnderlineStyle.None, NSUnderlineStyle strikethroughStyle = NSUnderlineStyle.None, NSParagraphStyle? paragraphStyle = null, float strokeWidth = 0F, NSShadow? shadow = null, NSUrl? link = null, bool superscript = false, NSTextAttachment? attachment = null, NSLigatureType ligature = NSLigatureType.Default, float baselineOffset = 0F, float kerningAdjustment = 0F, float obliqueness = 0F, float expansion = 0F, NSCursor? cursor = null, string? toolTip = null, int characterShape = 0, NSGlyphInfo? glyphInfo = null, NSArray? writingDirection = null, bool markedClauseSegment = false, NSTextLayoutOrientation verticalGlyphForm = NSTextLayoutOrientation.Horizontal, NSTextAlternatives? textAlternatives = null, NSSpellingState spellingState = NSSpellingState.None);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 6.07.08.09.010.0 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net10.0-macos14.2 | |
| Assembly | Microsoft.macOS , Version=15.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API