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

In This Topic
    ConstructMarkerFromFile Method (ISymbolFactory)
    In This Topic
    Constructs a marker from file. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    CIMMarker ConstructMarkerFromFile( 
       string file
    )
    Function ConstructMarkerFromFile( _
       ByVal file As String _
    ) As CIMMarker

    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.0 or higher.
    See Also