---
title: "IGuessPackageCallback.GuessPackage"
url: "https://reference.aspose.com/tex/net/aspose.tex.features/iguesspackagecallback/guesspackage/"
product: "Aspose.TeX for .NET API Reference"
description: "IGuessPackageCallback method. Returns the name of a required package that supposedly defines the command or environment"
---

## IGuessPackageCallback.GuessPackage method

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

```csharp
public string GuessPackage(string commandName, bool isEnvironment)
```

| Parameter | Type | Description |
| --- | --- | --- |
| commandName | String | The command name. |
| isEnvironment | Boolean | Specifies whether to guess a package for a command or an environment. |

### Return Value

The package name.

### See Also

* interface [IGuessPackageCallback](../)
* namespace [Aspose.TeX.Features](../../iguesspackagecallback/)
* assembly [Aspose.TeX](../../../)


