ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / TextFormat Class / SetTrimming Method

Text trimming options.

Application-defined omission sign. This parameter may be null. See InlineObject for more information.


In This Topic
    SetTrimming Method
    In This Topic

    Sets trimming options for text overflowing the layout width.

    Syntax
    'Declaration
     
    Public Sub SetTrimming( _
       ByVal trimmingOptions As Trimming, _
       ByVal trimmingSign As InlineObject _
    ) 
    public void SetTrimming( 
       Trimming trimmingOptions,
       InlineObject trimmingSign
    )

    Parameters

    trimmingOptions

    Text trimming options.

    trimmingSign

    Application-defined omission sign. This parameter may be null. See InlineObject for more information.

    Return Value

    If this method succeeds, it returns C1.Util.DX.HResult.Ok. Otherwise, it returns an C1.Util.DX.HResult error code.

    See Also