Share via


ReadModeInkLockDown.FontSize Property

Font Size Scaling.Represents the attribte in schema: w:fontSz

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "fontSz")> _
Public Property FontSize As StringValue
    Get
    Set
'Usage
Dim instance As ReadModeInkLockDown
Dim value As StringValue

value = instance.FontSize

instance.FontSize = value
[SchemaAttrAttribute(, "fontSz")]
public StringValue FontSize { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns Int32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the percentage that text in a given WordprocessingML document shall be scaled by before it is displayed on a virtual page. The attribute's value stores the percentage specified as an integer whose units correspond to the percentage that text runs shall be scaled to (for example, 200 means a scale of 200%).

This attribute shall only be used if the actualPage attribute equals off, 0, or false.

Consider a WordprocessingML document that shall be displayed using virtual pages. This state is specified using the following WordprocessingML in the document settings:

<w:readModeInkLockDown w:w="692" w:h="986" w:fontSz="95" w:actualPg="0" />

The fontSz attribute is equal to 95 specifying that the text in the WordprocessingML document shall be displayed at 95% of its normal size when it is displayed on a virtual page.

The possible values for this attribute are defined by the ST_DecimalNumber simple type.

See Also

Reference

ReadModeInkLockDown Class

ReadModeInkLockDown Members

DocumentFormat.OpenXml.Wordprocessing Namespace