DWRITE_BREAK_CONDITION enumeration (dwrite.h)
Indicates the condition at the edges of inline object or text used to determine line-breaking behavior.
Syntax
typedef enum DWRITE_BREAK_CONDITION {
DWRITE_BREAK_CONDITION_NEUTRAL,
DWRITE_BREAK_CONDITION_CAN_BREAK,
DWRITE_BREAK_CONDITION_MAY_NOT_BREAK,
DWRITE_BREAK_CONDITION_MUST_BREAK
} ;
Constants
DWRITE_BREAK_CONDITION_NEUTRAL Indicates whether a break is allowed by determining the condition of the neighboring text span or inline object. |
DWRITE_BREAK_CONDITION_CAN_BREAK Indicates that a line break is allowed, unless overruled by the condition of the neighboring text span or inline object, either prohibited by a "may not break" condition or forced by a "must break" condition. |
DWRITE_BREAK_CONDITION_MAY_NOT_BREAK Indicates that there should be no line break, unless overruled by a "must break" condition from the neighboring text span or inline object. |
DWRITE_BREAK_CONDITION_MUST_BREAK Indicates that the line break must happen, regardless of the condition of the adjacent text span or inline object. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Header | dwrite.h |