Class
WordMacroProject
OfficeIMO.Word
A VBA project attached to a Word document. Reading it never executes macro code.
Inheritance
- object
- WordMacroProject
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Method WordDocument.AddMacro
Methods
public void Save(string path, long maximumBytes = 67108864) #Saves the attached project bytes to a file.
Parameters
- path string
- maximumBytes long = 67108864
public byte[] ToBytes(long maximumBytes = 67108864) #Reads the attached project bytes subject to the specified maximum size.
Parameters
- maximumBytes long = 67108864
Returns
byte[]Inherited Methods
Properties
public IReadOnlyList<WordMacro> Modules { get; } #Gets the project's standard, class and host modules.