TDBImage/zh CN: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | **TDBImage**  数据库绑定控件,用来显示数据库中 BLOB 字段中的内容. 在 [[Data Controls tab]] 的 [[Component Palette]]. | |
| 2 | 2 | ||
| 3 | 3 | ## 存储 | |
| 4 | 4 | ||
| 5 | 5 | 默认情况下, Lazarus 将图形文件以二进制的形式存入数据库中,因此Lazarus可以存储任何图片类型。 | |
| 6 | 6 | ||
| 7 | 7 | Delphi 仅支持 (jpg?),最新版本未知. 最新的 Lazarus版本也允许此种类型存储,而且Lazarus已经尝试根据二进制文件的特性来自动检测图片为何种格式。 | |
| 8 | 8 | ||
| 9 | 9 | ## 样例 | |
| 10 | 10 | ||
| 11 | 11 | 在代码示例中. sqlite_mushrooms/image_mushrooms 样例,在目录 examples\database\\ 中可以找到 | |
| 12 | 12 | ||
| 13 | - | ||
| 14 | - | ||
| 15 | - | ||
| 16 | - | ||
| 13 | + |  | |
| 17 | 14 | ||
| 18 | 15 | ## 参考资料 | |
| 19 | 16 | ||
| 20 | 17 | - [[doc:/lcl/dbctrls/tdbimage.html|TDBImage doc]] | |
| 21 | 18 | ||
| 22 | 19 | --- | |
| 23 | 20 | *From the Free Pascal wiki, page "TDBImage/zh CN", as it stood on 2020-05-16 after a change by TyphonFinger, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
