OLEFormat.PreserveFormattingOnUpdate Property
True preserves formatting done in Microsoft Word to a linked OLE object, such as a table linked to a Microsoft Excel spreadsheet.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property PreserveFormattingOnUpdate As Boolean
Get
Set
'Usage
Dim instance As OLEFormat
Dim value As Boolean
value = instance.PreserveFormattingOnUpdate
instance.PreserveFormattingOnUpdate = value
bool PreserveFormattingOnUpdate { get; set; }
Property Value
Type: System.Boolean
Remarks
When PreserveFormattingOnUpdate is set to True, formatting changes made to the object in Word is preserved when the object is updated. Word updates only the content in the linked object.