NormalAutoFit.FontScale 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
字体比例
表示架构中的以下属性:fontScale
[DocumentFormat.OpenXml.SchemaAttr(0, "fontScale")]
public DocumentFormat.OpenXml.Int32Value FontScale { get; set; }
public DocumentFormat.OpenXml.Int32Value FontScale { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "fontScale")]
public DocumentFormat.OpenXml.Int32Value? FontScale { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("fontScale")]
public DocumentFormat.OpenXml.Int32Value? FontScale { get; set; }
public DocumentFormat.OpenXml.Int32Value? FontScale { get; set; }
member this.FontScale : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "fontScale")>]
member this.FontScale : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("fontScale")>]
member this.FontScale : DocumentFormat.OpenXml.Int32Value with get, set
Public Property FontScale As Int32Value
属性值
返回 Int32Value。
- 属性
注解
使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。
指定文本正文中每个运行所缩放的原始字号的百分比。 为了在边界框内自动调整文本,有时需要将字号减小一定百分比。 使用此属性可以根据提供的值缩放文本框中的字体。 值 100000
被视为 100%,值为 1000
1%。 如果省略此属性,则隐含或 100% 的值 100000
。
此属性的可能值由 ST_TextFontScalePercent
简单类型定义。