DrawSVGFromFileA

Vector graphics, SVG, File input

Description

ANSI variant of DrawSVGFromFile

Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point

Syntax

DLL

int DLDrawSVGFromFileA(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t * FileName, const wchar_t * AltText);

Return values

Returns 1 when at least one supported vector shape is drawn, or 0 when the file cannot be read or its SVG source is invalid

Remarks

The file content enters the same bounded parser and most-recent-source cache used by DrawSVG

No external resource referenced by the SVG is opened

The DLL DLDrawSVGFromFileA variant accepts the file name and alternative text according to the configured ANSI mode