[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextLayout.AppendInlineObject

AppendInlineObject Method

AppendInlineObject(object, float, float)

Adds an inline object with specified dimensions to the end of the Inlines collection.

Declaration
public InlineObject AppendInlineObject(object obj, float width, float height)
Public Function AppendInlineObject(obj As Object, width As Single, height As Single) As InlineObject
Parameters
Type Name Description
object obj

The object to add.

float width

The object's width.

float height

The object's height.

Returns
Type Description
InlineObject

The created InlineObject.

AppendInlineObject(object, float, float, TextFormat)

Adds an inline object with specified dimensions and formatting to the end of the Inlines collection.

Declaration
public InlineObject AppendInlineObject(object obj, float width, float height, TextFormat format)
Public Function AppendInlineObject(obj As Object, width As Single, height As Single, format As TextFormat) As InlineObject
Parameters
Type Name Description
object obj

The object to add.

float width

The object's width.

float height

The object's height.

TextFormat format

Formatting associated with the object.

Returns
Type Description
InlineObject

The created InlineObject.