コード例 #1
0
        public TextSegment(int beginRun, int endRun, int beginText, int endText, int beginChar, int endChar)
        {
            PositionInParagraph beginPos = new PositionInParagraph(beginRun, beginText, beginChar);
            PositionInParagraph endPos   = new PositionInParagraph(endRun, endText, endChar);

            this.beginPos = beginPos;
            this.endPos   = endPos;
        }
コード例 #2
0
 public TextSegment(PositionInParagraph beginPos, PositionInParagraph endPos)
 {
     this.beginPos = beginPos;
     this.endPos   = endPos;
 }
コード例 #3
0
 public TextSegment()
 {
     this.beginPos = new PositionInParagraph();
     this.endPos   = new PositionInParagraph();
 }