## IGuessPackageCallback::GuessPackage method


Returns the name of a required package that supposedly defines the command or environment.

```cpp
virtual System::String Aspose::TeX::Features::IGuessPackageCallback::GuessPackage(const System::String &commandName, bool isEnvironment)=0
```


| Parameter | Type | Description |
| --- | --- | --- |
| commandName | const System::String\& | The command name. |
| isEnvironment | bool | Specifies whether to guess a package for a command or an environment. |

### ReturnValue

The package name.

## See Also

* Class [String](../../../system/string/)
* Class [IGuessPackageCallback](../)
* Namespace [Aspose::TeX::Features](../../)
* Library [Aspose.TeX for C++](../../../)
