API Reference
OfficeArabicTextShaper
Applies dependency-free contextual presentation forms for the Arabic alphabet and its common extended letters (Persian, Urdu, Sindhi, Pashto, Kurdish and Uyghur).
Inheritance
- Object
- OfficeArabicTextShaper
Remarks
The shaper preserves one UTF-16 character per base letter and intentionally does not synthesize optional ligatures. This keeps layout and logical-text mapping deterministic while improving joining for renderers that do not execute OpenType shaping tables.
Methods
public static Boolean CanShapeAllJoiningCharacters(String value) #BooleanReturns true when every joining-script letter in the value is covered by the bounded Arabic shaper. Marks, controls, punctuation, and digits are neutral.
Parameters
- value System.String
public static String Shape(String value) #StringShapes supported Arabic letters into their Presentation Forms-A and -B contextual forms.
Parameters
- value System.String
public static String ToLogicalText(String value) #StringMaps presentation forms produced by this shaper back to their Arabic letters.
Parameters
- value System.String
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object