_Application.DontResetInsertionPointProperties Property

Returns or sets a Boolean that represents whether Microsoft Office Word maintains the formatting properties of the text at that position of the Insertion Point after running other code. Read/write.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property DontResetInsertionPointProperties As Boolean
    Get
    Set
'Usage
Dim instance As _Application
Dim value As Boolean

value = instance.DontResetInsertionPointProperties

instance.DontResetInsertionPointProperties = value
bool DontResetInsertionPointProperties { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

In some cases, Word loses the formatting at the Insertion Point after running other Microsoft Visual Basic for Applications (VBA) code. When this happens, it can cause difficulty for users who rely on a screen reader application. They lose the formatting when their assistive application performs what seems like unrelated tasks. This property prevents Word from losing or changing the formatting that has been applied to the text at the position of the Insertion Point when other code runs that contains properties or methods in the Word object model.

Important

Do not use this property unless you specifically need it to make a solution function correctly.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace