Table of Contents

Struct InlineObjectMetrics

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Contains properties describing the geometric measurement of an application-defined inline object.

public struct InlineObjectMetrics
Inherited Members

Fields

Baseline

The distance from the top of the object to the point where it is lined up with the adjacent text. If the baseline is at the bottom, then baseline simply equals height.

public float Baseline

Field Value

float

Height

The height of the inline object.

public float Height

Field Value

float

SupportsSideways

A Boolean flag that indicates whether the object is to be placed upright or alongside the text baseline for vertical text.

public RawBool SupportsSideways

Field Value

RawBool

Width

The width of the inline object.

public float Width

Field Value

float