ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextLayout Class / SetInlineObject Method
An application-defined inline object.
Text range to which this change applies.

In This Topic
    SetInlineObject Method
    In This Topic
    Sets the inline object.
    Syntax
    'Declaration
     
    Public Sub SetInlineObject( _
       ByVal inlineObject As InlineObject, _
       ByVal textRange As TextRange _
    ) 
    public void SetInlineObject( 
       InlineObject inlineObject,
       TextRange textRange
    )

    Parameters

    inlineObject
    An application-defined inline object.
    textRange
    Text range to which this change applies.

    Return Value

    If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
    Remarks
    The application may call this function to specify the set of properties describing an application-defined inline object for specific range. This inline object applies to the specified range and will be passed back to the application by way of the DrawInlineObject callback when the range is drawn. Any text in that range will be suppressed.
    See Also