Skip to main content
All docs
V25.2
  • SvgBitmap.FromFile(String) Method

    SECURITY-RELATED CONSIDERATIONS

    Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

    Creates a new SvgBitmap object from the specified vector image.

    Namespace: DevExpress.Utils.Svg

    Assembly: DevExpress.Drawing.v25.2.dll

    NuGet Package: DevExpress.Drawing

    Declaration

    public static SvgBitmap FromFile(
        string path
    )

    Parameters

    Name Type Description
    path String

    A path to the image file.

    Returns

    Type Description
    SvgBitmap

    The SvgBitmap object.

    See Also