Difference between revisions of "TextEncoding.Format"
From Xojo Documentation
(→Example) |
|||
Line 22: | Line 22: | ||
Var t As TextEncoding | Var t As TextEncoding | ||
t = Encoding(TextArea1.Value) | t = Encoding(TextArea1.Value) | ||
− | If t <> Nil | + | If t <> Nil Then |
Label1.Value = "Base=" + t.Base.ToString | Label1.Value = "Base=" + t.Base.ToString | ||
Label2.Value = "Format=" + t.Format.ToString | Label2.Value = "Format=" + t.Format.ToString |
Revision as of 14:42, 5 March 2020
Read-Only Property (As Integer )
A format for the Base text encoding.
Notes
Used by Unicode for defining which format of Unicode you wish to use.
Example
This example returns the Base, Format, and Variant values for the text in TextArea1.