Click or drag to resize

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
C#
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
ExceptionCondition
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