←Select platform

SvgTextData Class

Summary

Contains the data of a text element.

Syntax
C#
VB
Objective-C
C++
Java
public class SvgTextData 
Public Class SvgTextData  
@interface LTSvgTextData : NSObject 
public class SvgTextData 
public ref class SvgTextData  

Remarks

Used as the value of SvgElementInfo.TextData. This member is only valid if the SVG element (SvgElementInfo.ElementType) is a text SVG element.

SvgTextData contains the following:

Member Value
Text

The text as a string. The number of items in the arrays below is equivalent to the number of characters in this string (System.String.Length).

Bounds

An array of Leadtools.LeadRectD that specifies the physical (pixel) bounds of each character in the text.

CharacterFlags

An array of SvgTextCharacterFlags that specifies the position flags of each character in the text.

Directions

An array of SvgCharacterDirection that specifies the direction of each character in the text.

OcrZoneIndex

Index of the OCR zone containing the text if this SVG document was obtained through OCR.

OcrCharacterIndex

Index of the first OCR character in the text if this SVG document was obtained through OCR.

Example

For an example, refer to SvgDocument.SortElements.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly