WebCAD-Lib-TS API 文档 - v1.0.0
    Preparing search index...

    Interface FindResult

    查找结果项

    interface FindResult {
        entity: EntityBase;
        textContent: string;
        matchedText: string;
        matchIndex: number;
        entityType: string;
        blockRef?: EntityBase;
        attributeTag?: string;
        blockName?: string;
        blockId?: string;
    }
    Index

    Properties

    entity: EntityBase

    实体对象

    textContent: string

    实体中的文字内容

    matchedText: string

    匹配的文字

    matchIndex: number

    匹配的起始位置

    entityType: string

    实体类型: TEXT, MTEXT, ATTRIB, BLOCK_TEXT, BLOCK_MTEXT

    blockRef?: EntityBase

    INSERT 实体引用 (ATTRIB 类型时)

    attributeTag?: string

    属性 tag (ATTRIB 类型时)

    blockName?: string

    块名称 (块参照相关类型时,用于显示)

    blockId?: string

    块 ID (BLOCK_TEXT/BLOCK_MTEXT 类型时)