API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.TextString EGFBAccessors.TextString Class Methods Name Description constructor(): EGFBAccessors.TextString __init(i: number, bb: ByteBuffer): EGFBAccessors.TextString glyphIds(index: number): | number glyphIdsArray(): | Uint32Array glyphIdsLength(): number glyphOrigins(index: number, obj?: EGFBAccessors.TextStringGlyphOrigin): | EGFBAccessors.TextStringGlyphOrigin glyphOriginsLength(): number majorVersion(): number minorVersion(): number range(obj?: EGFBAccessors.TextStringRange): | EGFBAccessors.TextStringRange style(obj?: EGFBAccessors.TextStringStyle): | EGFBAccessors.TextStringStyle text(): | string text(optionalEncoding: Encoding): | string | Uint8Array transform(obj?: EGFBAccessors.TextStringTransform): | EGFBAccessors.TextStringTransform addGlyphIds(builder: Builder, glyphIdsOffset: number): void Static addGlyphOrigins(builder: Builder, glyphOriginsOffset: number): void Static addMajorVersion(builder: Builder, majorVersion: number): void Static addMinorVersion(builder: Builder, minorVersion: number): void Static addRange(builder: Builder, rangeOffset: number): void Static addStyle(builder: Builder, styleOffset: number): void Static addText(builder: Builder, textOffset: number): void Static addTransform(builder: Builder, transformOffset: number): void Static createGlyphIdsVector(builder: Builder, data: number[] | Uint8Array): number Static createTextString(builder: Builder, majorVersion: number, minorVersion: number, textOffset: number, styleOffset: number, transformOffset: number, rangeOffset: number, glyphIdsOffset: number, glyphOriginsOffset: number): number Static endTextString(builder: Builder): number Static getRootAsTextString(bb: ByteBuffer, obj?: EGFBAccessors.TextString): EGFBAccessors.TextString Static getSizePrefixedRootAsTextString(bb: ByteBuffer, obj?: EGFBAccessors.TextString): EGFBAccessors.TextString Static startGlyphIdsVector(builder: Builder, numElems: number): void Static startGlyphOriginsVector(builder: Builder, numElems: number): void Static startTextString(builder: Builder): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in core/common/src/geometry/ElementGeometryFB.ts Line 3966 Last Updated: 11 June, 2024