API Reference > imodeljs-common > Serialization > EGFBAccessors > EGFBAccessors.TextStringStyle EGFBAccessors.TextStringStyle Class Methods Name Description constructor(): EGFBAccessors.TextStringStyle __init(i: number, bb: ByteBuffer): EGFBAccessors.TextStringStyle fontId(): number height(): number isBold(): boolean isItalic(): boolean isUnderlined(): boolean majorVersion(): number minorVersion(): number widthFactor(): number addFontId(builder: Builder, fontId: number): void Static addHeight(builder: Builder, height: number): void Static addIsBold(builder: Builder, isBold: boolean): void Static addIsItalic(builder: Builder, isItalic: boolean): void Static addIsUnderlined(builder: Builder, isUnderlined: boolean): void Static addMajorVersion(builder: Builder, majorVersion: number): void Static addMinorVersion(builder: Builder, minorVersion: number): void Static addWidthFactor(builder: Builder, widthFactor: number): void Static createTextStringStyle(builder: Builder, majorVersion: number, minorVersion: number, fontId: number, isBold: boolean, isItalic: boolean, isUnderlined: boolean, height: number, widthFactor: number): number Static endTextStringStyle(builder: Builder): number Static getRootAsTextStringStyle(bb: ByteBuffer, obj?: EGFBAccessors.TextStringStyle): EGFBAccessors.TextStringStyle Static getSizePrefixedRootAsTextStringStyle(bb: ByteBuffer, obj?: EGFBAccessors.TextStringStyle): EGFBAccessors.TextStringStyle Static startTextStringStyle(builder: Builder): void Static Properties Name Type Description bb_pos number bb | ByteBuffer Defined in core/common/src/geometry/ElementGeometryFB.ts Line 3771 Last Updated: 11 June, 2024