Returns the frame of the cell as it would be drawn as the character at the given glyph position, and character index, charIndex, in textContainer. (required)
Original signature is '- (NSRect)cellFrameForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(NSRect)lineFrag glyphPosition:(NSPoint)position characterIndex:(NSUInteger)charIndex'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSRect CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex( NSTextContainer textContainer, NSRect lineFrag, NSPoint position, NSUInteger charIndex )
Public Overridable Function CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex ( _ textContainer As NSTextContainer, _ lineFrag As NSRect, _ position As NSPoint, _ charIndex As NSUInteger _ ) As NSRect
public: virtual NSRect CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex( NSTextContainer^ textContainer, NSRect lineFrag, NSPoint position, NSUInteger charIndex )
Parameters
- textContainer (NSTextContainer)
- MISSING
- lineFrag (NSRect)
- MISSING
- position (NSPoint)
- MISSING
- charIndex (NSUInteger)
- MISSING
Return Value
[Missing <returns> documentation for "M:Monobjc.AppKit.NSTextAttachmentCell.CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(Monobjc.AppKit.NSTextContainer,Monobjc.Foundation.NSRect,Monobjc.Foundation.NSPoint,Monobjc.Foundation.NSUInteger)"]
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)