Share via


ReadModeInkLockDown.Width Property

Virtual Page Width.Represents the attribte in schema: w:w

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

Syntax

'Declaration
<SchemaAttrAttribute(, "w")> _
Public Property Width As UInt32Value
    Get
    Set
'Usage
Dim instance As ReadModeInkLockDown
Dim value As UInt32Value

value = instance.Width

instance.Width = value
[SchemaAttrAttribute(, "w")]
public UInt32Value Width { get; set; }

Property Value

Type: DocumentFormat.OpenXml.UInt32Value
Returns UInt64Value.

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.

See Also

Reference

ReadModeInkLockDown Class

ReadModeInkLockDown Members

DocumentFormat.OpenXml.Wordprocessing Namespace