Share via


ReadModeInkLockDown.Width Property

Definition

Virtual Page Width

Represents the following attribute in the schema: w:w

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

Property Value

Returns UInt64Value.

Attributes

Remarks

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

Specifies the width of the virtual pages which shall be used in this document. This value is specified in pixels.

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 w attribute is equal to 692 specifying that virtual pages in this document shall be 692 pixels wide.

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

Applies to