Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Text Namespace / TextLayout Class / SoftHyphenReplacementCharCode Property

In This Topic
    SoftHyphenReplacementCharCode Property
    In This Topic
    Gets or sets a UTF-32 character code used as replacement for soft hyphen characters (0x00AD) at ends of lines when breaking words across lines.

    The default is 0x002D (the Unicode hyphen-minus character).

    Setting this to 0 breaks words without showing any visible hyphen character.

    Setting this to -1 prevents breaking words at soft hyphens.

    Note that if this property is changed, either RecalculateGlyphs or PerformLayout with true as the parameter must be called for the changes to be processed correctly.
    Syntax
    'Declaration
     
    Public Property SoftHyphenReplacementCharCode As System.Integer
    public System.int SoftHyphenReplacementCharCode {get; set;}
    See Also