VbaModuleType

Overview

VbaModuleType is an enum in Aspose.Words FOSS for Java.

Specifies the type of a model in a VBA project.

Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.

This enum declares 4 methods for VbaModuleType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
DOCUMENT_MODULEA type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document.
PROCEDURAL_MODULEA collection of subroutines and functions.
CLASS_MODULEA module that contains the definition for a new object.
DESIGNER_MODULEA VBA module that extends the methods and properties of an ActiveX control that has been registered with the project.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of VbaModuleType values.

Methods

SignatureDescription
getName(vbaModuleType: int) → StringReturns JAVA_STYLE string representation of integer VbaModuleType value.
toString(vbaModuleType: int) → StringReturns DotNetStyle string representation of integer VbaModuleType value.
fromName(vbaModuleTypeName: String) → intReturns integer representation by VbaModuleType name.
getValues() → int[]Returns array of VbaModuleType values.

See Also