Udostępnij za pośrednictwem


ReadModeInkLockDown.FontSize Property

Definition

Font Size Scaling

Represents the following attribute in the schema: w:fontSz

[DocumentFormat.OpenXml.SchemaAttr(23, "fontSz")]
public DocumentFormat.OpenXml.StringValue FontSize { get; set; }
public DocumentFormat.OpenXml.StringValue FontSize { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "fontSz")]
public DocumentFormat.OpenXml.StringValue? FontSize { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:fontSz")]
public DocumentFormat.OpenXml.StringValue? FontSize { get; set; }
public DocumentFormat.OpenXml.StringValue? FontSize { get; set; }
member this.FontSize : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "fontSz")>]
member this.FontSize : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:fontSz")>]
member this.FontSize : DocumentFormat.OpenXml.StringValue with get, set
Public Property FontSize As StringValue

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 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.

Applies to