Nevron.Nov Namespace / NUriHelpers Class / CreateDataUriString Method
In This Topic
    CreateDataUriString Method
    In This Topic
    Creates a Base64 data URI string using the encoded data of the given image or encoding it to PNG if it is not already encoded. Returns null if the image serialization fails.
    Overload List
    OverloadDescription
    Creates a Base64 data URI string using the encoded data of the given image or encoding it to PNG if it is not already encoded. Returns null if the image serialization fails.  
    Creates a Base64 data URI string by encoding the given image to the specified image format. Returns null if the image encoding fails.  
    Creates a base64-encoded data URI string from the given mime type and byte array.  
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also