跳到主要内容

TextFitType

形状内可用的文本自动调整类型。

类型​

枚举

值​

  • "noAutoFit"
  • "normAutoFit"
  • "autoFit"

示例​

设置调整形状大小以适应其文本的自动调整类型。

// Specify the text autofit behavior applied inside a shape.

// Apply the "autoFit" text fit type to the ApiShape object.

shape.SetTextFit("autoFit");