ImportedImageVisualLoadFromFile Method |
Create a new ImportedImageVisual parented to the scene of the supplied document from a file.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic static ImportedImageVisual LoadFromFile(
Document doc,
string fileName
)
Parameters
- doc
- Type: Demo3D.VisualsDocument
Document to add image visual to. - fileName
- Type: SystemString
Path of the image file to import.
Return Value
Type:
ImportedImageVisualNew imported image visual.
See Also