> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取图层字体信息

Photoshop 版本：Photoshop 版本支持2025✅2024✅2023✅2022✅2021✅2020✅CC2019✅CC2018✅CC2017✅

# # 获取图层文字信息

## 描述

该指令通过调用接口获取图层文字信息, 用于设置图层

## 配置

### 输入

#### 常规

<strong>Photoshop文件路径</strong>

<strong>图层名: </strong>图层的名称

<img src="https://mintcdn.com/bazhuayu-rpa-docs/gYxFt2wpwEe3BGZG/helpcenter/commands/custom-commands/AJpKshiX/images/ZroSsgwc-01.png?fit=max&auto=format&n=gYxFt2wpwEe3BGZG&q=85&s=8f61b24b663f6d9030484ea2483e514c" alt="image" width="665" height="431" data-path="helpcenter/commands/custom-commands/AJpKshiX/images/ZroSsgwc-01.png" />

### 输出字典类型

\{

"layer\_name": "231",

"text\_content": "成功了",

"font\_name": "SimSun",

"font\_size": 80,

"color": \{

"red": 0,

"green": 0,

"blue": 0

},

"position": \{

"left": 437,

"top": 116,

"right": 664,

"bottom": 190

},

"justification": "2",

"tracking": 0

}

<img src="https://mintcdn.com/bazhuayu-rpa-docs/gYxFt2wpwEe3BGZG/helpcenter/commands/custom-commands/AJpKshiX/images/ZroSsgwc-02.png?fit=max&auto=format&n=gYxFt2wpwEe3BGZG&q=85&s=7353b25958250d14a1d43544fc0464f4" alt="image" width="1071" height="219" data-path="helpcenter/commands/custom-commands/AJpKshiX/images/ZroSsgwc-02.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
