Gets the size of a string of text.
AnnSvgTextObjectRenderer.prototype.getTextSize = function(text, annFont, layoutArea)
getTextSize(text: string, annFont: AnnFont, layoutArea: LeadSizeD): LeadSizeD;
text
The text string to measure.
annFont
The font to use.
layoutArea
The maximum layout area for the text.
This method is called by the renderer to measure the size of a text string using a specific font and clipping rectangle. Derived classes can override this method and provide their own implementation.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET