Bitmap for WPF
TextLayout クラス メンバ
プロパティ  メソッド  イベント

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 : TextLayout クラス

TextLayoutデータ型で公開されるメンバを以下の表に示します。

パブリック コンストラクタ
 名前解説
Public コンストラクタInitializes a new instance of the TextLayoutclass.  
トップ
パブリック プロパティ
 名前解説
Public プロパティGets a copy of the font family name. C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public プロパティGets a value indicating whether this instance is disposed. C1.Util.DX.DisposeBaseから継承されます。
Public プロパティGets a copy of the locale name. C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public プロパティGetMetrics  
Public プロパティGet a pointer to the underlying Cpp Object C1.Util.DX.CppObjectから継承されます。
Public プロパティGetOverhangMetrics  
Public プロパティGets or sets a custom user tag object to associate with this instance.. C1.Util.DX.CppObjectから継承されます。
トップ
パブリック メソッド
 名前解説
Public メソッドstatic (Shared in Visual Basic)オーバーロードされます。 Takes a string, text format, and associated constraints, and produces an object that represents the fully analyzed and formatted result.  
Public メソッドHRESULT IDWriteTextLayout::DetermineMinWidth([Out] float* minWidth)  
Public メソッドオーバーロードされます。 Draws text using the specified client drawing context.  
Public メソッドオーバーロードされます。 Retrieves logical properties and measurements of each glyph cluster.  
Public メソッドオーバーロードされます。 Gets the application-defined drawing effect at the specified text position.  
Public メソッドDWRITE_FLOW_DIRECTION IDWriteTextFormat::GetFlowDirection() C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドオーバーロードされます。 Gets the font collection associated with the text at the specified position.  
Public メソッドオーバーロードされます。 Gets the font family name of the text at the specified position.  
Public メソッドオーバーロードされます。 HRESULT IDWriteTextLayout::GetFontFamilyNameLength([In] unsigned int currentPosition,[Out] unsigned int* nameLength,[Out, Optional] DWRITE_TEXT_RANGE* textRange)  
Public メソッドオーバーロードされます。 Gets the font em height of the text at the specified position.  
Public メソッドオーバーロードされます。 Gets the font stretch of the text at the specified position.  
Public メソッドオーバーロードされます。 Gets the font style (also known as slope) of the text at the specified position.  
Public メソッドオーバーロードされます。 Gets the font weight of the text at the specified position.  
Public メソッドfloat IDWriteTextFormat::GetIncrementalTabStop() C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドオーバーロードされます。 Gets the inline object at the specified position.  
Public メソッドオーバーロードされます。 Retrieves the information about each individual text line of the text string.  
Public メソッドHRESULT IDWriteTextFormat::GetLineSpacing([Out] DWRITE_LINE_SPACING_METHOD* lineSpacingMethod,[Out] float* lineSpacing,[Out] float* baseline) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドオーバーロードされます。 Gets the locale name of the text at the specified position.  
Public メソッドオーバーロードされます。 HRESULT IDWriteTextLayout::GetLocaleNameLength([In] unsigned int currentPosition,[Out] unsigned int* nameLength,[Out, Optional] DWRITE_TEXT_RANGE* textRange)  
Public メソッドfloat IDWriteTextLayout::GetMaxHeight()  
Public メソッドfloat IDWriteTextLayout::GetMaxWidth()  
Public メソッドHRESULT IDWriteTextLayout::GetMetrics([Out] DWRITE_TEXT_METRICS* textMetrics)  
Public メソッドHRESULT IDWriteTextLayout::GetOverhangMetrics([Out] DWRITE_OVERHANG_METRICS* overhangs)  
Public メソッドDWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat::GetParagraphAlignment() C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドDWRITE_READING_DIRECTION IDWriteTextFormat::GetReadingDirection() C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドDWRITE_TEXT_ALIGNMENT IDWriteTextFormat::GetTextAlignment() C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドHRESULT IDWriteTextFormat::GetTrimming([Out] DWRITE_TRIMMING* trimmingOptions,[Out] IDWriteInlineObject** trimmingSign) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドオーバーロードされます。 Gets the typography setting of the text at the specified position.  
Public メソッドDWRITE_WORD_WRAPPING IDWriteTextFormat::GetWordWrapping() C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドオーバーロードされます。 Get the strikethrough presence of the text at the specified position.  
Public メソッドオーバーロードされます。 Gets the underline presence of the text at the specified position.  
Public メソッドHRESULT IDWriteTextLayout::HitTestPoint([In] float pointX,[In] float pointY,[Out] BOOL* isTrailingHit,[Out] BOOL* isInside,[Out] DWRITE_HIT_TEST_METRICS* hitTestMetrics)  
Public メソッドHRESULT IDWriteTextLayout::HitTestTextPosition([In] unsigned int textPosition,[In] BOOL isTrailingHit,[Out] float* pointX,[Out] float* pointY,[Out] DWRITE_HIT_TEST_METRICS* hitTestMetrics)  
Public メソッドオーバーロードされます。 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).  
Public メソッドオーバーロードされます。 Query this instance for a particular COM GUID/interface support. C1.Util.DX.ComObjectから継承されます。
Public メソッドオーバーロードされます。 Query instance for a particular COM GUID/interface support. C1.Util.DX.ComObjectから継承されます。
Public メソッドオーバーロードされます。 Sets the application-defined drawing effect.  
Public メソッドHRESULT IDWriteTextFormat::SetFlowDirection([In] DWRITE_FLOW_DIRECTION flowDirection) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドHRESULT IDWriteTextLayout::SetFontCollection([In] IDWriteFontCollection* fontCollection,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextLayout::SetFontFamilyName([In] const wchar_t* fontFamilyName,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextLayout::SetFontSize([In] float fontSize,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextLayout::SetFontStretch([In] DWRITE_FONT_STRETCH fontStretch,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextLayout::SetFontStyle([In] DWRITE_FONT_STYLE fontStyle,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextLayout::SetFontWeight([In] DWRITE_FONT_WEIGHT fontWeight,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextFormat::SetIncrementalTabStop([In] float incrementalTabStop) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドSets the inline object.  
Public メソッドHRESULT IDWriteTextFormat::SetLineSpacing([In] DWRITE_LINE_SPACING_METHOD lineSpacingMethod,[In] float lineSpacing,[In] float baseline) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドHRESULT IDWriteTextLayout::SetLocaleName([In] const wchar_t* localeName,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextLayout::SetMaxHeight([In] float maxHeight)  
Public メソッドHRESULT IDWriteTextLayout::SetMaxWidth([In] float maxWidth)  
Public メソッドHRESULT IDWriteTextFormat::SetParagraphAlignment([In] DWRITE_PARAGRAPH_ALIGNMENT paragraphAlignment) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドHRESULT IDWriteTextFormat::SetReadingDirection([In] DWRITE_READING_DIRECTION readingDirection) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドHRESULT IDWriteTextLayout::SetStrikethrough([In] BOOL hasStrikethrough,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextFormat::SetTextAlignment([In] DWRITE_TEXT_ALIGNMENT textAlignment) C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッド

Sets trimming options for text overflowing the layout width.

C1.Util.DX.DirectWrite.TextFormatから継承されます。
Public メソッドHRESULT IDWriteTextLayout::SetTypography([In] IDWriteTypography* typography,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextLayout::SetUnderline([In] BOOL hasUnderline,[In] DWRITE_TEXT_RANGE textRange)  
Public メソッドHRESULT IDWriteTextFormat::SetWordWrapping([In] DWRITE_WORD_WRAPPING wordWrapping) C1.Util.DX.DirectWrite.TextFormatから継承されます。
トップ
パブリック イベント
 名前解説
Public イベントOccurs when this instance is fully disposed. C1.Util.DX.DisposeBaseから継承されます。
Public イベントOccurs when this instance is starting to be disposed. C1.Util.DX.DisposeBaseから継承されます。
トップ
パブリック オペレータ
Performs an explicit conversion from System.IntPtrto TextLayout.
トップ
参照

TextLayout クラス
C1.Util.DX.DirectWrite 名前空間