Atspi.Text.AddSelection C# (CSharp) 메소드

AddSelection() 공개 메소드

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset int
리턴 bool
        public bool AddSelection(int startOffset, int endOffset)
        {
            return proxy.AddSelection (startOffset, endOffset);
        }

Usage Example

예제 #1
0
        public void AddToSelection()
        {
            if (!accessible.StateSet.Contains(StateType.Enabled))
            {
                throw new ElementNotEnabledException();
            }

            // TODO: Throw exception on failure
            text.AddSelection(startOffset, endOffset);
        }