Class UFText
Implements
System.Runtime.Remoting.Messaging.IMessageSink
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.UF
Assembly: NXOpen.UF.dll
Syntax
public class UFText : NXRemotableObject, IMessageSink
Methods
AskTextMode()
Declaration
public UFText.ModeS AskTextMode()
Returns
Type | Description |
---|---|
UFText.ModeS |
CopyNchars(String, UInt32, UInt32, out String)
Declaration
public void CopyNchars(string input_buffer, uint output_buffer_length, uint nchars, out string output_buffer)
Parameters
Type | Name | Description |
---|---|---|
System.String | input_buffer | |
System.UInt32 | output_buffer_length | |
System.UInt32 | nchars | |
System.String | output_buffer |
CountCharacters(String, out Int32)
Declaration
public void CountCharacters(string string_to_check, out int num_characters)
Parameters
Type | Name | Description |
---|---|---|
System.String | string_to_check | |
System.Int32 | num_characters |
InitNativeLangSupport()
Declaration
public void InitNativeLangSupport()
LoadTranslationFile(String)
Declaration
public void LoadTranslationFile(string file)
Parameters
Type | Name | Description |
---|---|---|
System.String | file |
SetTextMode(UFText.ModeS)
Declaration
public void SetTextMode(UFText.ModeS mode)
Parameters
Type | Name | Description |
---|---|---|
UFText.ModeS | mode |
TranslateString(String, Int32, out String)
Declaration
public void TranslateString(string source, int size, out string xstring)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.Int32 | size | |
System.String | xstring |
TranslateString2(String, out String)
Declaration
public void TranslateString2(string source, out string xstring)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.String | xstring |
Truncate(ref String, Int32, Int32, out Boolean)
Declaration
public void Truncate(ref string string_to_truncate, int num_bytes, int num_characters, out bool truncated)
Parameters
Type | Name | Description |
---|---|---|
System.String | string_to_truncate | |
System.Int32 | num_bytes | |
System.Int32 | num_characters | |
System.Boolean | truncated |
Implements
System.Runtime.Remoting.Messaging.IMessageSink