findPiece Method

Summary

Gets the Piece which contains the specified position.

Syntax

TypeScript
    findPiece(editPos: EditPosition): StructLocation; 

Parameters

editPos

The EditPosition for the specified position in the document.

Return Value

A StructLocation containing the TreeNode and the position in the document for the specified Piece.

Remarks

This would be used to finding a specific Piece object based on the positioning of it.

Requirements

Target Platforms

See Also

PieceStructure Object

PieceStructure Members

Leadtools.Document.Editor Namespace

Help Version 22.0.2023.1.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.