ObjectProxySetPreviewImage Method |
Sets the preview image of this object to the specified value.
Namespace:
Articy.Api
Assembly:
QueryLayer (in QueryLayer.dll) Version: 1.0.0
Syntax public void SetPreviewImage(
ObjectProxy aPreviewImage
)
Parameters
- aPreviewImage
- Type: Articy.ApiObjectProxy
the (image) asset object that is to become the new preview image of this object
Exceptions Exception | Condition |
---|
ArticyApiException | If the object does not have a PreviewImage property, error code ErrorCode.PropertyNotFound is thrown. |
ArticyApiException | If the new value is no asset, error code ErrorCode.InvalidValue is thrown. |
See Also