| TextRangeSetPoint Method |
Changes the range based on a specified point at or up through
(depending on extend) the point (x, y) aligned
according to position.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public void SetPoint(
Point p,
RangePosition position,
RangeShiftType extend
)
Public Sub SetPoint (
p As Point,
position As RangePosition,
extend As RangeShiftType
)
public:
void SetPoint(
Point p,
RangePosition position,
RangeShiftType extend
)
Parameters
- p
- Type: System.DrawingPoint
Coordinates of the specified point, in absolute screen coordinates. - position
- Type: TextObjectModelRangePosition
The end to move to the specified point. - extend
- Type: TextObjectModelRangeShiftType
How to set the endpoints of the range.
See Also