[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.InlineObject

Class InlineObject

Namespace
GrapeCity.Documents.Text
Assembly
GcDocs.Imaging.dll

Represents an inline element associated with an embedded object.

public class InlineObject : FormattableInline
Inheritance
object
InlineObject
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

InlineObject()

Creates a new instance of InlineObject.

public InlineObject()

InlineObject(InlineObject)

Creates a new instance of InlineObject.

public InlineObject(InlineObject source)

Parameters

source InlineObject

InlineObject(object, float, float, TextFormat)

Creates a new instance of InlineObject.

public InlineObject(object obj, float width, float height, TextFormat format)

Parameters

obj object
width float
height float
format TextFormat

InlineObject(object, float, float)

Creates a new instance of InlineObject.

public InlineObject(object obj, float width, float height)

Parameters

obj object
width float
height float

Properties

Flags

Gets or sets the flags describing the InlineObject.

public InlineObjectFlags Flags { get; set; }

Property Value

InlineObjectFlags

GlyphRun

After executing PerformLayout(bool) gets the GlyphRun associated with the InlineObject.

public GlyphRun GlyphRun { get; }

Property Value

GlyphRun

Height

Gets or sets the height of the InlineObject, in graphic units.

public float Height { get; set; }

Property Value

float

MayNotBreakAfter

Gets or sets a value indicating if there should be no line break after the inline object.

public bool MayNotBreakAfter { get; set; }

Property Value

bool

MayNotBreakBefore

Gets or sets a value indicating if there should be no line break before the inline object.

public bool MayNotBreakBefore { get; set; }

Property Value

bool

MustBreakAfter

Gets or sets a value indicating if the line break must happen after the inline object.

public bool MustBreakAfter { get; set; }

Property Value

bool

MustBreakBefore

Gets or sets a value indicating if the line break must happen before the inline object.

public bool MustBreakBefore { get; set; }

Property Value

bool

Object

Gets or sets the embedded object referenced by the InlineObject.

public object Object { get; set; }

Property Value

object

ObjectRect

After executing PerformLayout(bool) gets a rectangular area occupied by the InlineObject.

public ObjectRect ObjectRect { get; }

Property Value

ObjectRect

SidewaysInVerticalText

Gets or sets a value indicating if the inline object can appear rotated 90 or -90 degrees.

public bool SidewaysInVerticalText { get; set; }

Property Value

bool

Width

Gets or sets the width of the InlineObject, in graphic units.

public float Width { get; set; }

Property Value

float

Methods

GetCharCount()

Gets the number of UTF-16 characters.

public override int GetCharCount()

Returns

int

GetChars()

Gets the string of UTF-16 characters.

public override string GetChars()

Returns

string