[]
Sets the preview appearance for this 3D annotation using a raster image.
public void SetPreviewAppearance(IImage previewImage)
Public Sub SetPreviewAppearance(previewImage As IImage)
| Type | Name | Description |
|---|---|---|
| IImage | previewImage | The IImage object to use as the preview appearance when the annotation is not activated. The image will be stretched to fit the annotation's bounds. |
This method creates a visual representation of the 3D content that is displayed when the 3D annotation is not activated. Since DsPdf cannot automatically generate previews for 3D content, you must provide a preview image generated by a third-party tool or rendered separately.
The provided image is stretched to fill the annotation's bounds (Rect). The appearance stream is stored as the normal default appearance of the annotation.