public int CompareEndpoints( TextPatternRangeEndpoint endpoint, TextPatternRange targetRange, TextPatternRangeEndpoint targetEndpoint) { Validate.ArgumentNotNull(parameter: targetRange, parameterName: nameof(targetRange)); return(IUIAutomationTextRange.CompareEndpoints(srcEndPoint: UiaConvert.Convert(textPatternRangeEndpoint: endpoint), range: targetRange.IUIAutomationTextRange, targetEndPoint: UiaConvert.Convert(textPatternRangeEndpoint: targetEndpoint))); }
public void MoveEndpointByRange( TextPatternRangeEndpoint endpoint, TextPatternRange targetRange, TextPatternRangeEndpoint targetEndpoint) { Validate.ArgumentNotNull(parameter: targetRange, parameterName: nameof(targetRange)); IUIAutomationTextRange.MoveEndpointByRange(srcEndPoint: UiaConvert.Convert(textPatternRangeEndpoint: endpoint), range: targetRange.IUIAutomationTextRange, targetEndPoint: UiaConvert.Convert(textPatternRangeEndpoint: targetEndpoint)); }
public void ExpandToEnclosingUnit(TextUnit unit) { IUIAutomationTextRange.ExpandToEnclosingUnit(TextUnit: UiaConvert.Convert(textUnit: unit)); }
public int MoveEndpointByUnit(TextPatternRangeEndpoint endpoint, TextUnit unit, int count) { return(IUIAutomationTextRange.MoveEndpointByUnit(endpoint: UiaConvert.Convert(textPatternRangeEndpoint: endpoint), unit: UiaConvert.Convert(textUnit: unit), count: count)); }
public int Move(TextUnit unit, int count) { return(IUIAutomationTextRange.Move(unit: UiaConvert.Convert(textUnit: unit), count: count)); }