Skip to content

TextStudio3DStyles

ClassTextStudio.ThreeDTextStudio.3D
public static class TextStudio3DStyles

Registers 3D styles by stable Tag ID, with explicit runtime overrides above the project catalog.

public static void Register(Extrude3DStyle style, bool replaceExisting = false)

Registers a style definition, optionally replacing an existing entry with the same identifier.

Parameters

NameType
styleTextStudio.ThreeD.Extrude3DStyle
replaceExistingSystem.Boolean

TryGetDefinition(string, out Extrude3DStyle)

Section titled “TryGetDefinition(string, out Extrude3DStyle)”
public static bool TryGetDefinition(string id, out Extrude3DStyle style)

Looks up a registered style definition by identifier.

Parameters

NameType
idSystem.String
styleTextStudio.ThreeD.Extrude3DStyle

Returns

System.Boolean

public static bool Unregister(string id)

Removes only the runtime override, revealing the project entry when present.

Parameters

NameType
idSystem.String

Returns

System.Boolean