Share via


ReadModeInkLockDown.UseActualPages Property

Use Actual Pages, Not Virtual Pages.Represents the attribte in schema: w:actualPg

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

Syntax

'Declaration
<SchemaAttrAttribute(, "actualPg")> _
Public Property UseActualPages As OnOffValue
    Get
    Set
'Usage
Dim instance As ReadModeInkLockDown
Dim value As OnOffValue

value = instance.UseActualPages

instance.UseActualPages = value
[SchemaAttrAttribute(, "actualPg")]
public OnOffValue UseActualPages { get; set; }

Property Value

Type: DocumentFormat.OpenXml.OnOffValue
Returns EnumValue<T>.

Remarks

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

Specifies if applications shall render this WordprocessingML document with actual pages, not virtual pages. Actual pages are pages rendered as they will be printed.

A value of true specifies that the given WordprocessingML document's pages will be rendered as they are printed, and the w, h, and fontSz attributes shall be ignored. A value of false specifies that the given WordprocessingML document's pages shall be rendered as virtual pages using the other attributes on this element.

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 actualPage attribute is equal to 0 specifying that the given WordprocessingML document shall be rendered by conforming hosting applications using virtual pages.

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

See Also

Reference

ReadModeInkLockDown Class

ReadModeInkLockDown Members

DocumentFormat.OpenXml.Wordprocessing Namespace