Skip to main content
All docs
V26.1
  • 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.v26.1.dll

    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