IconFit
概述
IconFit 是 Aspose.PDF FOSS for C++ 中的类。
IconFit 允许对表单字段的缩放进行细粒度控制;开发者可以在渲染之前设置 ScalingReason、ScalingMode 和剩余边距。
此类为在 C++ 程序中处理 IconFit 对象提供了 15 个方法。可用的方法包括:IconFit、LeftoverBottom、LeftoverLeft、NameToScalingMode、NameToScalingReason、ScalingMode、ScalingModeToName、ScalingReason、ScalingReasonToName、SpreadOnBorder。在安装了 Aspose.PDF FOSS for C++ 包后,所有公共成员对任何 C++ 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
IconFit() | 在此 IconFit 实例上调用 IconFit。 |
NameToScalingReason(reason: std::string) → Aspose::Pdf::Forms::ScalingReason | 在此 IconFit 实例上调用 NameToScalingReason(reason)。 |
ScalingReasonToName(reason: Aspose::Pdf::Forms::ScalingReason) → std::string | 在此 IconFit 实例上调用 ScalingReasonToName(reason)。 |
NameToScalingMode(mode: std::string) → Aspose::Pdf::Forms::ScalingMode | 在此 IconFit 实例上调用 NameToScalingMode(mode)。 |
ScalingModeToName(mode: Aspose::Pdf::Forms::ScalingMode) → std::string | 在此 IconFit 实例上调用 ScalingModeToName(mode)。 |
ScalingReason() → Aspose::Pdf::Forms::ScalingReason | 在此 IconFit 实例上调用 ScalingReason。 |
ScalingReason(value: Aspose::Pdf::Forms::ScalingReason) | 在此 IconFit 实例上调用 ScalingReason(value)。 |
ScalingMode() → Aspose::Pdf::Forms::ScalingMode | 在此 IconFit 实例上调用 ScalingMode。 |
ScalingMode(value: Aspose::Pdf::Forms::ScalingMode) | 在此 IconFit 实例上调用 ScalingMode(value)。 |
LeftoverLeft() → double | 在此 IconFit 实例上调用 LeftoverLeft。 |
LeftoverLeft(value: double) | 在此 IconFit 实例上调用 LeftoverLeft(value)。 |
LeftoverBottom() → double | 在此 IconFit 实例上调用 LeftoverBottom。 |
LeftoverBottom(value: double) | 在此 IconFit 实例上调用 LeftoverBottom(value)。 |
SpreadOnBorder() → bool | 在此 IconFit 实例上调用 SpreadOnBorder。 |
SpreadOnBorder(value: bool) | 在此 IconFit 实例上调用 SpreadOnBorder(value)。 |