# SnapshotConfig (/zh-CN/api-reference/rtc/electron/class-snapshotconfig)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```ts
export class SnapshotConfig {
filePath?: string;
position?: VideoModulePosition;
}
```
## 属性 [#属性]
:::note
注: 请确保目录存在且可写。
:::
截图的本地保存路径,需精确到文件名及格式,例如:
- Windows: `C:\Users\\AppData\Local\Agora\\example.jpg`
- macOS: `~/Library/Logs/example.jpg`
截图的视频帧在视频链路中的位置。详见 [VideoModulePosition](/zh-CN/api-reference/rtc/electron/enum-videomoduleposition)。