LoadOptions.UpdateDirtyFields

LoadOptions UpdateDirtyFields property. Specifies whether to update the fields with the dirty attribute. Default is false.

LoadOptions.UpdateDirtyFields property

Specifies whether to update the fields with the dirty attribute. Default is false.

public bool UpdateDirtyFields { get; set; }

Examples

Shows how to instruct Wordize to update dirty fields upon loading the document.

LoadOptions loadOptions = new LoadOptions();
loadOptions.UpdateDirtyFields = true;

Converter.Create()
    .From(MyDir + "Simple.docx", loadOptions)
    .To(ArtifactsDir + "LoadOptions.UpdateDirtyFields.docx")
    .Execute();

See Also