System.Library.getLocalImage¶
Description¶
Get images from the local library.
Grammar¶
System.Library.getLocalImage(path:string): Promise<string>
-
Parameter
path - The path of the image
-
Return
base64
Code Example¶
Obtain"Sun. svg" from the local library under "Scenery".