SaveOptions.UpdateFields

SaveOptions UpdateFields property. Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.

SaveOptions.UpdateFields property

Gets or sets a value determining if fields of certain types should be updated before saving the document to a fixed page format. Default value for this property is true.

public bool UpdateFields { get; set; }

Remarks

Allows to specify whether to mimic or not MS Word behavior.

Examples

Shows how to disable updating fields upon rendering document to PDF.

SaveOptions so = SaveOptions.CreateSaveOptions(SaveFormat.Pdf);
so.UpdateFields = false;

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "SaveOptions.UpdateFields.pdf", so)
    .Execute();

See Also