Table of Contents

Struct OverhangMetrics

Namespace
SharpDX.DirectWrite
Assembly
SharpDX.Direct2D1.dll

Indicates how much any visible DIPs (device independent pixels) overshoot each side of the layout or inline objects.

Positive overhangs indicate that the visible area extends outside the layout box or inline object, while negative values mean there is whitespace inside. The returned values are unaffected by rendering transforms or pixel snapping. Additionally, they may not exactly match the final target's pixel bounds after applying grid fitting and hinting.

public struct OverhangMetrics
Inherited Members

Fields

Bottom

The distance from the bottom-most visible DIP to its lower-alignment edge.

public float Bottom

Field Value

float

Left

The distance from the left-most visible DIP to its left-alignment edge.

public float Left

Field Value

float

Right

The distance from the right-most visible DIP to its right-alignment edge.

public float Right

Field Value

float

Top

The distance from the top-most visible DIP to its top alignment edge.

public float Top

Field Value

float