NormalAutoFit.FontScale Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Font Scale
Represents the following attribute in the schema: 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
Property Value
Returns Int32Value.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies the percentage of the original font size to which each run in the text body is scaled. In order to auto-fit text within a bounding box it is sometimes necessary to decrease the font size by a certain percentage. Using this attribute the font within a text box can be scaled based on the value provided. A value of 100000
is treated as 100% while a value of 1000
is consequently 1%. If this attribute is omitted, then a value of 100000
or 100% is implied.
The possible values for this attribute are defined by the ST_TextFontScalePercent
simple type.