NSAttributedString
NSAttributedString()
NSAttributedString(IntPtr)
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, Single, NSUnderlineStyle)
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)
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)
CreateFrom(NSTextAttachment)
CreateWithDocFormat(NSData, NSDictionary)
CreateWithHTML(NSData, NSDictionary)
CreateWithRTF(NSData, NSDictionary)
CreateWithRTFD(NSData, NSDictionary)
DoubleClick(nuint)
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)
GetAppKitAttributes(nint, NSRange)
GetAppKitAttributes(nint, NSRange)
GetAppKitAttributes(nint, NSRange, NSRange)
GetAppKitAttributes(nint, NSRange, NSRange)
GetAttribute(String, nint, NSRange)
GetAttribute(String, nint, NSRange)
GetAttribute(String, nint, NSRange, NSRange)
GetAttribute(String, nint, NSRange, NSRange)
GetAttributes(nint, NSRange)
GetAttributes(nint, NSRange)
GetAttributes(nint, NSRange, NSRange)
GetAttributes(nint, NSRange, NSRange)
GetBoundingRect(CGSize, NSStringDrawingOptions, NSStringDrawingContext)
GetCoreTextAttributes(nint, NSRange)
GetCoreTextAttributes(nint, NSRange)
GetCoreTextAttributes(nint, NSRange, 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)
GetItemNumber(NSTextList, nuint)
GetItemProviderVisibilityForTypeIdentifier(String)
GetLineBreak(nuint, NSRange)
GetLineBreak(nuint, NSRange)
GetLineBreakByHyphenating(nuint, NSRange)
GetLineBreakByHyphenating(nuint, NSRange)
GetNextWord(nuint, Boolean)
GetNextWord(nuint, Boolean)
GetObject(NSData, String, NSError)
GetPasteboardPropertyListForType(String)
GetRange(NSTextBlock, nuint)
GetRange(NSTextBlock, nuint)
GetRange(NSTextList, nuint)
GetRange(NSTextList, nuint)
GetRange(NSTextTable, 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)
GetUIKitAttributes(nint, NSRange, NSRange)
GetUIKitAttributes(nint, NSRange, NSRange)
GetUrl(nuint, NSRange)
GetUrl(nuint, NSRange)
GetWritableTypesForPasteboard(NSPasteboard)
GetWritingOptionsForType(String, NSPasteboard)
InitWithPasteboardPropertyList(NSObject, String)
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)
LowLevelGetAttributes(nint, NSRange)
MutableCopy(NSZone)
Substring(nint, nint)
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)
net9.0-ios17.2
namespace Foundation
{
[Register("NSAttributedString", true)]
public class NSAttributedString : NSObject, INSCoding, INSCopying, INSItemProviderReading, INSItemProviderWriting, INSMutableCopying, INSSecureCoding, INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("initWithContentsOfMarkdownFileAtURL:options:baseURL:error:")]
[SupportedOSPlatform("tvos15.0")]
[SupportedOSPlatform("macos12.0")]
[SupportedOSPlatform("ios15.0")]
[SupportedOSPlatform("maccatalyst15.0")]
public NSAttributedString(NSUrl! markdownFile, NSAttributedStringMarkdownParsingOptions? options, NSUrl? baseUrl, out NSError? error);
}
}
.NET | 7.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
iOS | 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2 |
Mac Catalyst | 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2 |
macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
tvOS | 10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2 |
Information specific to net9.0-ios17.2 | |
Assembly | Microsoft.iOS , Version=17.2.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