Name | Description | |
---|---|---|
![]() ![]() | Create | Overloaded. Takes a string, text format, and associated constraints, and produces an object that represents the fully analyzed and formatted result. |
![]() | DetermineMinWidth | HRESULT IDWriteTextLayout::DetermineMinWidth([Out] float* minWidth) |
![]() | Dispose | Overloaded. Clean up any resources being used. (Inherited from C1.Util.DX.ComObject) |
![]() | Draw | Overloaded. Draws text using the specified client drawing context. |
![]() | GetClusterMetrics | Overloaded. Retrieves logical properties and measurements of each glyph cluster. |
![]() | GetDrawingEffect | Overloaded. Gets the application-defined drawing effect at the specified text position. |
![]() | GetFlowDirection | DWRITE_FLOW_DIRECTION IDWriteTextFormat::GetFlowDirection() (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | GetFontCollection | Overloaded. Gets the font collection associated with the text at the specified position. |
![]() | GetFontFamilyName | Overloaded. Gets the font family name of the text at the specified position. |
![]() | GetFontFamilyNameLength | Overloaded. HRESULT IDWriteTextLayout::GetFontFamilyNameLength([In] unsigned int currentPosition,[Out] unsigned int* nameLength,[Out, Optional] DWRITE_TEXT_RANGE* textRange) |
![]() | GetFontSize | Overloaded. Gets the font em height of the text at the specified position. |
![]() | GetFontStretch | Overloaded. Gets the font stretch of the text at the specified position. |
![]() | GetFontStyle | Overloaded. Gets the font style (also known as slope) of the text at the specified position. |
![]() | GetFontWeight | Overloaded. Gets the font weight of the text at the specified position. |
![]() | GetIncrementalTabStop | float IDWriteTextFormat::GetIncrementalTabStop() (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | GetInlineObject | Overloaded. Gets the inline object at the specified position. |
![]() | GetLineMetrics | Overloaded. Retrieves the information about each individual text line of the text string. |
![]() | GetLineSpacing | HRESULT IDWriteTextFormat::GetLineSpacing([Out] DWRITE_LINE_SPACING_METHOD* lineSpacingMethod,[Out] float* lineSpacing,[Out] float* baseline) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | GetLocaleName | Overloaded. Gets the locale name of the text at the specified position. |
![]() | GetLocaleNameLength | Overloaded. HRESULT IDWriteTextLayout::GetLocaleNameLength([In] unsigned int currentPosition,[Out] unsigned int* nameLength,[Out, Optional] DWRITE_TEXT_RANGE* textRange) |
![]() | GetMaxHeight | float IDWriteTextLayout::GetMaxHeight() |
![]() | GetMaxWidth | float IDWriteTextLayout::GetMaxWidth() |
![]() | GetMetrics | HRESULT IDWriteTextLayout::GetMetrics([Out] DWRITE_TEXT_METRICS* textMetrics) |
![]() | GetOverhangMetrics | HRESULT IDWriteTextLayout::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs) |
![]() | GetParagraphAlignment | DWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat::GetParagraphAlignment() (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | GetReadingDirection | DWRITE_READING_DIRECTION IDWriteTextFormat::GetReadingDirection() (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | GetTextAlignment | DWRITE_TEXT_ALIGNMENT IDWriteTextFormat::GetTextAlignment() (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | GetTrimming | HRESULT IDWriteTextFormat::GetTrimming([Out] DWRITE_TRIMMING* trimmingOptions,[Out] IDWriteInlineObject** trimmingSign) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | GetTypography | Overloaded. Gets the typography setting of the text at the specified position. |
![]() | GetWordWrapping | DWRITE_WORD_WRAPPING IDWriteTextFormat::GetWordWrapping() (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | HasStrikethrough | Overloaded. Get the strikethrough presence of the text at the specified position. |
![]() | HasUnderline | Overloaded. Gets the underline presence of the text at the specified position. |
![]() | HitTestPoint | HRESULT IDWriteTextLayout::HitTestPoint([In] float pointX,[In] float pointY,[Out] BOOL* isTrailingHit,[Out] BOOL* isInside,[Out] DWRITE_HIT_TEST_METRICS* hitTestMetrics) |
![]() | HitTestTextPosition | HRESULT IDWriteTextLayout::HitTestTextPosition([In] unsigned int textPosition,[In] BOOL isTrailingHit,[Out] float* pointX,[Out] float* pointY,[Out] DWRITE_HIT_TEST_METRICS* hitTestMetrics) |
![]() | HitTestTextRange | Overloaded. The application calls this function to get a set of hit-test metrics corresponding to a range of text positions. One of the main usages is to implement highlight selection of the text string. The function returns E_NOT_SUFFICIENT_BUFFER, which is equivalent to HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), when the buffer size of hitTestMetrics is too small to hold all the regions calculated by the function. In this situation, the function sets the output value *actualHitTestMetricsCount to the number of geometries calculated. The application is responsible for allocating a new buffer of greater size and calling the function again. A good value to use as an initial value for maxHitTestMetricsCount may be calculated from the following equation: maxHitTestMetricsCount = lineCount * maxBidiReorderingDepth where lineCount is obtained from the value of the output argument *actualLineCount (from the function IDWriteTextLayout::GetLineLengths), and the maxBidiReorderingDepth value from the DWRITE_TEXT_METRICS structure of the output argument *textMetrics (from the function IDWriteFactory::CreateTextLayout). |
![]() | QueryInterface | Overloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject) |
![]() | QueryInterfaceOrNull | Overloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject) |
![]() | SetDrawingEffect | Overloaded. Sets the application-defined drawing effect. |
![]() | SetFlowDirection | HRESULT IDWriteTextFormat::SetFlowDirection([In] DWRITE_FLOW_DIRECTION flowDirection) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | SetFontCollection | HRESULT IDWriteTextLayout::SetFontCollection([In] IDWriteFontCollection* fontCollection,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetFontFamilyName | HRESULT IDWriteTextLayout::SetFontFamilyName([In] const wchar_t* fontFamilyName,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetFontSize | HRESULT IDWriteTextLayout::SetFontSize([In] float fontSize,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetFontStretch | HRESULT IDWriteTextLayout::SetFontStretch([In] DWRITE_FONT_STRETCH fontStretch,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetFontStyle | HRESULT IDWriteTextLayout::SetFontStyle([In] DWRITE_FONT_STYLE fontStyle,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetFontWeight | HRESULT IDWriteTextLayout::SetFontWeight([In] DWRITE_FONT_WEIGHT fontWeight,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetIncrementalTabStop | HRESULT IDWriteTextFormat::SetIncrementalTabStop([In] float incrementalTabStop) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | SetInlineObject | Sets the inline object. |
![]() | SetLineSpacing | HRESULT IDWriteTextFormat::SetLineSpacing([In] DWRITE_LINE_SPACING_METHOD lineSpacingMethod,[In] float lineSpacing,[In] float baseline) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | SetLocaleName | HRESULT IDWriteTextLayout::SetLocaleName([In] const wchar_t* localeName,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetMaxHeight | HRESULT IDWriteTextLayout::SetMaxHeight([In] float maxHeight) |
![]() | SetMaxWidth | HRESULT IDWriteTextLayout::SetMaxWidth([In] float maxWidth) |
![]() | SetParagraphAlignment | HRESULT IDWriteTextFormat::SetParagraphAlignment([In] DWRITE_PARAGRAPH_ALIGNMENT paragraphAlignment) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | SetReadingDirection | HRESULT IDWriteTextFormat::SetReadingDirection([In] DWRITE_READING_DIRECTION readingDirection) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | SetStrikethrough | HRESULT IDWriteTextLayout::SetStrikethrough([In] BOOL hasStrikethrough,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetTextAlignment | HRESULT IDWriteTextFormat::SetTextAlignment([In] DWRITE_TEXT_ALIGNMENT textAlignment) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | SetTrimming | Sets trimming options for text overflowing the layout width. (Inherited from C1.Util.DX.DirectWrite.TextFormat) |
![]() | SetTypography | HRESULT IDWriteTextLayout::SetTypography([In] IDWriteTypography* typography,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetUnderline | HRESULT IDWriteTextLayout::SetUnderline([In] BOOL hasUnderline,[In] DWRITE_TEXT_RANGE textRange) |
![]() | SetWordWrapping | HRESULT IDWriteTextFormat::SetWordWrapping([In] DWRITE_WORD_WRAPPING wordWrapping) (Inherited from C1.Util.DX.DirectWrite.TextFormat) |