Resource constructor
init
Creates new instance of Resource class.
def __init__(self):
...
init
Creates new instance of Resource class.
def __init__(self, file_name, nested):
...
| Parameter | Type | Description |
|---|---|---|
| file_name | System.String | Resource file name. |
| nested | bool | Indicates whether resource resides inside another resource, e.g. font resource that resides in CSS or SVG resource. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentException | Thrown when file_name is null or empty. |
See Also
- module
groupdocs.viewer.results - class
Resource