获取对象图层以及将对象设置到某图层

    科技2022-07-10  185

    获取对象图层: int UF_OBJ_ask_display_properties ( tag_t object_id, UF_OBJ_disp_props_p_t disp_props ); (参考网址:https://www.ugapi.com/doc/UFun/) 将对象设置到某图层: int UF_OBJ_set_layer ( tag_t object_id, int layer ) /* 这些信息都保存在结构体UF_OBJ_disp_props_s中,

    成员变量 成员变量描述 Int layer 对象所在的层 Int color 对象的颜色 Int blank_status 对象的隐藏状态:UF_OBJ_NOT_BLANKED,UF_OBJ_BLANKED;

    Int line_width 返回对象的线宽: UF_OBJ_WIDTH_NORMAL; UF_OBJ_WIDTH_THICK; UF_OBJ_WIDTH_THIN; UF_OBJ_WIDTH_ORIGINAL

    Int font 对象的线型

    Logical highlight_status 对象的高亮显示状态

    int ll=dispprops.layer //对象所在的层 (参考https://www.ugapi.com/thread-5930.html) */

    Processed: 0.012, SQL: 8