LoadOptions.IgnoreOleData

LoadOptions IgnoreOleData property. Specifies whether to ignore the OLE data.

LoadOptions.IgnoreOleData property

Specifies whether to ignore the OLE data.

public bool IgnoreOleData { get; set; }

Remarks

Ignoring OLE data may reduce memory consumption and increase performance without data lost in a case when destination format does not support OLE objects.

The default value is false.

Examples

Shows how to instruct Wordize to ignore OLE data upon loading document.

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

Converter.Create()
    .From(MyDir + "OLE objects.docx", loadOptions)
    .To(ArtifactsDir + "LoadOptions.IgnoreOleData.docx")
    .Execute();

See Also