NormalAutoFit.FontScale Property
Font Scale.Represents the attribte in schema: fontScale
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "fontScale")> _
Public Property FontScale As Int32Value
Get
Set
'Usage
Dim instance As NormalAutoFit
Dim value As Int32Value
value = instance.FontScale
instance.FontScale = value
[SchemaAttrAttribute(, "fontScale")]
public Int32Value FontScale { get; set; }
Property Value
Type: DocumentFormat.OpenXml.Int32Value
Returns Int32Value.
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.