FileSpecification.GetFileName
FileSpecification.GetFileName method
Gets the file name using the available file specification names, the specified fallback name, or a generated name if no other name is available.
public string GetFileName(string fallbackName = null, bool allowEmptyName = false)
| Parameter | Type | Description |
|---|---|---|
| fallbackName | String | The fallback file name to use if no file specification name is available. |
| allowEmptyName | Boolean | Specifies whether an empty file name is allowed. |
Return Value
The resolved file name.
See Also
- class FileSpecification
- namespace Aspose.Pdf
- assembly Aspose.PDF