AutoScaleFont class

Office 2013 and later

Font AutoScale. When the object is serialized out as xml, its qualified name is xvml:AutoScale.

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class AutoScaleFont : OpenXmlLeafTextElement

[ISO/IEC 29500-1 1st Edition]

AutoScale (Font AutoScale)

This element specifies whether the object's font is automatically scaled by the application when the object is resized. If this element is specified without a value, it is assumed to be true. This element is used for attached text. Attached text refers to a class of objects that have text associated with them. The following values defined by the ST_ObjectType simple type are attached text objects: Button, Checkbox, Dialog, Edit, GBox, Label, Note and Radio.

[Example:

<x:ClientData> …  <x:AutoScale>True</x:AutoScale
>
</x:ClientData>

end example]

The possible values for this element are defined by the ST_TrueFalseBlank simple type (§15.1.2.6).

Parent Elements

ClientData (§14.4.2.12)

[Note: The W3C XML Schema definition of this element’s content model (ST_TrueFalseBlank) is located in §A.7.9. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: