findPieces Method

Summary

Gets the pieces which intersect the specified range.

Syntax

TypeScript
    findPieces(editRange: EditRange): StructLocation[]; 

Parameters

editRange

The EditRange for the specified range within the document.

Return Value

A StructLocation which contains an array of objects containing each TreeNode and the position in the document for the Piece in the specified range.

Remarks

This would be used to find multiple Piece object based on a specific range of positions.

Requirements

Target Platforms

See Also

PieceStructure Object

PieceStructure Members

Leadtools.Document.Editor Namespace

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Editor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.