---
title: GetDataFormat
description: "用于获得数据格式。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/msadg/mxvisionug_0327.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/msadg/mxvisionug_0327.html
indexId: 37d0daf8b5e6529b9cec92986b8538e75ac0327c3625994266d5c891d2bc8492102
---
# GetDataFormat

#### 函数功能

用于获得数据格式。


#### 函数原型

```
DataFormat GetDataFormat() const;
```


#### 返回参数说明

| 数据结构 | 说明 |
| --- | --- |
| DataFormat | 具体请参考DataFormat。 |
