콘텐츠로 이동

TextViewLayout.GetLineExtent method

이 콘텐츠는 아직 번역되지 않았습니다.

The laid-out line holding the offset, laying it out when it is outside the viewport. A line long enough to be cut into slices answers with the slice the offset falls in; an offset inside a collapsed range answers with the line that stands in for it. Null when the document has no lines.

The whole line’s coordinates, from its own estimate where it has one and from its laid-out text where it is short enough not to need one.

public ITextLineExtent? GetLineExtent(int documentOffset)