SharpDX.DirectWrite.TextLayout.SetInlineObject C# (CSharp) Method

SetInlineObject() public method

Sets the inline object.
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.
public SetInlineObject ( InlineObject inlineObject, SharpDX textRange ) : void
inlineObject InlineObject An application-defined inline object.
textRange SharpDX Text range to which this change applies.
return void
        public void SetInlineObject(InlineObject inlineObject, SharpDX.DirectWrite.TextRange textRange)
        {
            SetInlineObject_(InlineObjectShadow.ToIntPtr(inlineObject), textRange);
        }
    }