Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeArabicTextShaper

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers static

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) #
Returns: Boolean

Returns 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 requiredposition: 0
public static String Shape(String value) #
Returns: String

Shapes supported Arabic letters into their Presentation Forms-A and -B contextual forms.

Parameters

value System.String requiredposition: 0
public static String ToLogicalText(String value) #
Returns: String

Maps presentation forms produced by this shaper back to their Arabic letters.

Parameters

value System.String requiredposition: 0