Table of Contents

Class DocXToolkit

Namespace
SearchAThing.DocX
Assembly
netcore-docx.dll

SearchAThing.DocX Toolkit methods

public static class DocXToolkit
Inheritance
DocXToolkit
Inherited Members

Methods

ComputeMD5Sum(string)

retrieve md5sum from file content

public static string ComputeMD5Sum(string pathfilename)

Parameters

pathfilename string

pathfilename of file for which compute md5sum

Returns

string

file md5sum

Create(string)

note: use doc.Finalize() when finished to release Library resources

public static WordprocessingDocument Create(string docPathfilename)

Parameters

docPathfilename string

pathfilename which save document

Returns

WordprocessingDocument

wordprocessing document

GetImagePartType(string)

public static PartTypeInfo? GetImagePartType(string pathfilename)

Parameters

pathfilename string

Returns

PartTypeInfo?

Open(string, bool)

note: use doc.Finalize() when finished to release Library resources

public static WordprocessingDocument Open(string docPathfilename, bool isEditable = true)

Parameters

docPathfilename string

pathfilename which save document

isEditable bool

if false open in readonly

Returns

WordprocessingDocument

wordprocessing document