[]
Sets the 3D stream content for this annotation.
public void Set3DContent(Stream stream, IPdfName format)
Public Sub Set3DContent(stream As Stream, format As IPdfName)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The Stream object containing the 3D model data. Common formats include U3D (Universal 3D) and PRC (Product Representation Compact). |
| IPdfName | format | The IPdfName object specifying the format of the 3D data. Use values from the Model3DStreamFormat static class (e.g., U3D or PRC). |
This method creates a new Model3DStream with the provided stream data and format, replacing any existing 3D stream in the annotation.
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |