Reshaper

概述

Reshaper 是 Aspose.PDF FOSS 中用于 Python 的一个类。

在文本编辑期间进行复杂脚本替换的 shaping 策略。

此类为 Python 程序中的 Reshaper 对象声明了 3 个方法。可用的方法包括:__init__、inline_codes、request_author。在安装了 Aspose.PDF FOSS for Python 包之后,所有公共成员对任何 Python 应用程序均可访问。属性:author_requests、can_author。

属性

名称类型访问描述
can_author``读取获取 can 作者。
author_requestslist[_ReshapeAuthorRequest]读取获取作者请求。

方法

签名描述
__init__(can_author: bool, budget: _LoadBudget)Calls init(can_author, budget) 在此 Reshaper 实例上。
inline_codes(replacement: str, metric: Any) → `bytesNone`
`request_author(replacement: str, origin_trm: tupleNone, pen_x: float, pen_y: float, size: float)→bool`
 中文