ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ISymbolFactory Interface / ConstructMarkerFromFile Method
The full path to file on disk.
Version

ConstructMarkerFromFile Method (ISymbolFactory)
Constructs a marker from file. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
CIMMarker ConstructMarkerFromFile( 
   string file
)

Parameters

file
The full path to file on disk.

Return Value

Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run
Remarks
Marker can be created from the following file formats: JPG, BMP, PNG, GIF, EMF, 3DS, FLT, DAE, OBJ, SVG, GLTF, GLB
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also