For a glyph corresponding to an attachment, returns the size for the attachment cell to occupy.
Original signature is '- (NSSize)attachmentSizeForGlyphAtIndex:(NSUInteger)glyphIndex'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSSize AttachmentSizeForGlyphAtIndex( NSUInteger glyphIndex )
Public Overridable Function AttachmentSizeForGlyphAtIndex ( _ glyphIndex As NSUInteger _ ) As NSSize
public: virtual NSSize AttachmentSizeForGlyphAtIndex( NSUInteger glyphIndex )
Parameters
- glyphIndex (NSUInteger)
- The index of the attachment glyph.
Return Value
The size for the attachment cell to occupy. Returns {-1.0, -1.0} if there is no attachment laid for the specified glyph.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)