GetSVGHeightA

Vector graphics, SVG, Measurement

Description

ANSI variant of GetSVGHeight

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

Syntax

DLL

double DLGetSVGHeightA(int InstanceID, const wchar_t * SVG);

Return values

Returns the root height, or the viewBox height when no positive intrinsic height 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 DLGetSVGHeightA variant accepts text according to the configured ANSI mode