<< 点击显示目录 >> 主页 mappVision帮助助手 > 机器视觉帮助 > mapp Vision > 编程 > 库 > 核心库 > ViBase > 数据类型和常量 > 枚举器 |
格式选项枚举
枚举常量 |
值 |
说明 |
---|---|---|
viBASE_FORMAT_PLAIN_TEXT |
0 |
元素以纯文本格式列出,可在 ViBaseLoadApplication 中直接使用。 mapp 视图绑定:例如 widget 表格 字符串数组 1D (stringValue) |
viBASE_FORMAT_ITEMCOLLECTION |
1 |
项目以 ItemCollection 格式列出 {"值":"VA 名称","文本":"VA 名称"}。 mapp 视图绑定:选择器部件 数组 ItemCollection (dataProvider) |
图像类型枚举
枚举常量 |
值 |
描述 |
---|---|---|
viBASE_IMAGE_TYPE_BMP |
0 |
图像数据为未压缩的位图格式。 |
viBASE_IMAGE_TYPE_JPG |
1 |
图像数据为有质量损失的压缩 JPEG 格式。 |
Enumeration for format options
Enum constant |
Value |
Description |
---|---|---|
viBASE_FORMAT_PLAIN_TEXT |
0 |
The elements are listed in plain text format and can be used directly in ViBaseLoadApplication, for example. mapp View binding: e.g. widget Table StringArray1D (stringValue) |
viBASE_FORMAT_ITEMCOLLECTION |
1 |
The items are listed in ItemCollection format {"value": "VA name", "text": "VA name"}. mapp View binding: Selector widgets Array ItemCollection (dataProvider) |
Enumeration of image types
Enum constant |
Value |
Description |
---|---|---|
viBASE_IMAGE_TYPE_BMP |
0 |
The image data is in uncompressed bitmap format. |
viBASE_IMAGE_TYPE_JPG |
1 |
The image data is in compressed JPEG format with loss of quality. |