ImageExportOptions.IsValidForSaveToProjectAsImage
Method
Description:
Verify if ImageExportOptions object is valid for calling saveToProjectAsImage
Verify if ImageExportOptions object is valid for calling saveToProjectAsImage
Syntax
public static bool IsValidForSaveToProjectAsImage(
ImageExportOptions options,
Document doc
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| options | ImageExportOptions | ImageExportOptions object to be validated |
| doc | Document | Document for view name verification |
Return Value
| Type | Description |
|---|---|
| Boolean | True if ImageExportOptions object is valid for calling saveToProjectAsImage; false otherwise |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |