ObjectProxySetPreviewImage 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
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

ArticyApiExceptionIf the object does not have a PreviewImage property, error code ErrorCode.PropertyNotFound is thrown.
ArticyApiExceptionIf the new value is no asset, error code ErrorCode.InvalidValue is thrown.

See Also