GetSVGWidthA
Vector graphics, SVG, Measurement
Description
ANSI variant of GetSVGWidth
Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
Syntax
DLL
double DLGetSVGWidthA(int InstanceID, const wchar_t * SVG);Return values
Returns the root width, or the viewBox width when no positive intrinsic width is present, and returns 0 for invalid input
Remarks
Physical units such as pt, in, cm, and mm are converted before the current PDF Library for Delphi measurement scale is applied
Repeated measurement and drawing of the same source reuse the parsed SVG tree
The DLL DLGetSVGWidthA variant accepts text according to the configured ANSI mode