IImageViewerDescriptor interface
Defines an interface for image viewer input descriptors used in custom forms. This interface extends IInputDescriptor to include image-specific properties such as the image hash and maximum display height.
public interface IImageViewerDescriptor : IInputDescriptor
Members
| name | description |
|---|---|
| ImageHash { get; set; } | Gets or sets the hash identifier for the image to be displayed. Update this value when the image content changes. |
| MaxHeight { get; set; } | Gets or sets the maximum height in pixels for the displayed image. This property controls the vertical size constraint of the image viewer component on the custom form. |
Remarks
When an image needs to be displayed, GetInputContentAsync supplies the binary content. Change ImageHash when the image content changes so callers can avoid redundant content fetches.
See Also
- interface IInputDescriptor
- namespace Autodesk.DataExchange.UI.CustomForm.Interfaces