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
stringpathfilename 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
stringpathfilename 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
Returns
- WordprocessingDocument
wordprocessing document