DWRITE_INLINE_OBJECT_METRICS structure
Contains properties describing the geometric measurement of an application-defined inline object.
Syntax
struct DWRITE_INLINE_OBJECT_METRICS {
FLOAT width;
FLOAT height;
FLOAT baseline;
BOOL supportsSideways;
};
Members
- width
-
Type: FLOAT
-
The width of the inline object.
- height
-
Type: FLOAT
-
The height of the inline object.
- baseline
-
Type: FLOAT
-
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.
- supportsSideways
-
Type: BOOL
-
A Boolean flag that indicates whether the object is to be placed upright or alongside the text baseline for vertical text.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|