Object ProxySet Preview Image Method
Sets the preview image of this object to the specified value.
Definition
Namespace: Articy.Api
Assembly: QueryLayer (in QueryLayer.dll) Version: 1.0.0
Assembly: QueryLayer (in QueryLayer.dll) Version: 1.0.0
C#
public void SetPreviewImage(
ObjectProxy aPreviewImage
)Parameters
- aPreviewImage ObjectProxy
- the (image) asset object that is to become the new preview image of this object
Exceptions
| 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. |