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

    Interface TableExtractOptions

    表格提取选项

    interface TableExtractOptions {
        bounds?: Bounds;
        layers?: string[];
        includeLine?: boolean;
        includePolyline?: boolean;
        includeText?: boolean;
        includeMText?: boolean;
        includeBlocks?: boolean;
        includeGroups?: boolean;
        digit?: number;
        tol?: number;
        tableEdgeMinPoint?: number;
        tableTextMinCount?: number;
        cellEmptyRatio?: number;
        debug?: boolean;
    }
    Index

    Properties

    bounds?: Bounds

    提取范围,不设置则全图

    layers?: string[]

    过滤的图层列表,不设置则所有图层

    includeLine?: boolean

    是否包含直线(默认 true)

    includePolyline?: boolean

    是否包含多段线(默认 true)

    includeText?: boolean

    是否包含单行文本(默认 true)

    includeMText?: boolean

    是否包含多行文本(默认 true)

    includeBlocks?: boolean

    是否包含块中的实体(默认 true)

    includeGroups?: boolean

    是否包含组中的实体(默认 true)

    digit?: number

    小数点精度(默认 4)

    tol?: number

    误差值,0 表示自动计算(默认 0)

    tableEdgeMinPoint?: number

    表格边框最少点数(默认 12)

    tableTextMinCount?: number

    表格文本最少数量(默认 4)

    cellEmptyRatio?: number

    空值所占最大比例(默认 90)

    debug?: boolean

    是否返回调试数据(默认 false)