TextProxy Class

Gives access to all text and vo related sub properties for a text property in articy.

Definition

Namespace: Articy.Api
Assembly: QueryLayer (in QueryLayer.dll) Version: 1.0.0
C#
public class TextProxy
Inheritance
Object    TextProxy

Example

C#
   var dialogue_fragment = Session.CreateDialogueFragment(Session.GetSystemFolder(SystemFolderNames.Flow), String.Empty);
TextProxy textProxy = (TextProxy)dialogue_fragment[ObjectPropertyNames.Text];

textProxy.Texts["en"] = "How are you?";
textProxy.Texts["de"] = "Wie geht es dir?";

Properties

Format The format used when accessing the text proxy
Object The Source object
PropertyInfo A property info object for more detailed type information
PropertyName The property name
Remark A user remark for the text property, you can use this anyway you like.
Text Gets or sets the text for the primary langauge
Texts Get or set the text data for the property via the indexer for the individual languages
TextState Gets or sets the text state for the primary langauge
TextStates Get or set the text localization states via indexer for the individual languages
VoiceOverReference Gets or sets the voice-over reference for the primary langauge
VoiceOverReferences Get or set the voice-over asset references via indexer for the individual languages
VoiceOverState Gets or sets the voice-over state for the primary langauge
VoiceOverStates Get or set the voice-over localization states via indexer for the individual languages

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToString Implemented to just return the text of the CCL
(Overrides ObjectToString)

Operators

(TextProxy to String) Implicit converts a text proxy to a string, this uses the CCL

Extension Methods

TraceError
(Defined by TraceHelper)
TraceInfo
(Defined by TraceHelper)
TraceWarning
(Defined by TraceHelper)

See Also