ITextDocument.GetRangeFromPoint(Point, PointOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the degenerate (empty) text range at, or nearest to, a particular point on the screen.
public:
ITextRange ^ GetRangeFromPoint(Point point, PointOptions options);
ITextRange GetRangeFromPoint(Point const& point, PointOptions const& options);
public ITextRange GetRangeFromPoint(Point point, PointOptions options);
function getRangeFromPoint(point, options)
Public Function GetRangeFromPoint (point As Point, options As PointOptions) As ITextRange
Parameters
- point
- Point
The location of the point on the screen, in screen coordinates.
- options
- PointOptions
The alignment type of the specified point.
Returns
The text range object.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin