ComponentOne Bitmap for UWP
TextFormat Class Members
Properties  Methods  Events

C1.UWP.DX Assembly > C1.Util.DX.DirectWrite Namespace : TextFormat Class

The following tables list the members exposed by TextFormat.

Public Constructors
 NameDescription
Public ConstructorInitializes a new instance of the TextFormat class.  
Top
Public Properties
 NameDescription
Public PropertyGets a copy of the font family name.  
Public PropertyGets a value indicating whether this instance is disposed. (Inherited from C1.Util.DX.DisposeBase)
Public PropertyGets a copy of the locale name.  
Public PropertyGet a pointer to the underlying Cpp Object (Inherited from C1.Util.DX.CppObject)
Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a text format object used for text layout with normal weight, style and stretch.  
Public MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from C1.Util.DX.DisposeBase)
Public MethodDWRITE_FLOW_DIRECTION IDWriteTextFormat::GetFlowDirection()  
Public MethodHRESULT IDWriteTextFormat::GetFontCollection([Out] IDWriteFontCollection** fontCollection)  
Public MethodHRESULT IDWriteTextFormat::GetFontFamilyName([Out, Buffer] wchar_t* fontFamilyName,[In] unsigned int nameSize)  
Public Methodunsigned int IDWriteTextFormat::GetFontFamilyNameLength()  
Public Methodfloat IDWriteTextFormat::GetFontSize()  
Public MethodDWRITE_FONT_STRETCH IDWriteTextFormat::GetFontStretch()  
Public MethodDWRITE_FONT_STYLE IDWriteTextFormat::GetFontStyle()  
Public MethodDWRITE_FONT_WEIGHT IDWriteTextFormat::GetFontWeight()  
Public Methodfloat IDWriteTextFormat::GetIncrementalTabStop()  
Public MethodHRESULT IDWriteTextFormat::GetLineSpacing([Out] DWRITE_LINE_SPACING_METHOD* lineSpacingMethod,[Out] float* lineSpacing,[Out] float* baseline)  
Public MethodHRESULT IDWriteTextFormat::GetLocaleName([Out, Buffer] wchar_t* localeName,[In] unsigned int nameSize)  
Public Methodunsigned int IDWriteTextFormat::GetLocaleNameLength()  
Public MethodDWRITE_PARAGRAPH_ALIGNMENT IDWriteTextFormat::GetParagraphAlignment()  
Public MethodDWRITE_READING_DIRECTION IDWriteTextFormat::GetReadingDirection()  
Public MethodDWRITE_TEXT_ALIGNMENT IDWriteTextFormat::GetTextAlignment()  
Public MethodHRESULT IDWriteTextFormat::GetTrimming([Out] DWRITE_TRIMMING* trimmingOptions,[Out] IDWriteInlineObject** trimmingSign)  
Public MethodDWRITE_WORD_WRAPPING IDWriteTextFormat::GetWordWrapping()  
Public MethodOverloaded. Query this instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
Public MethodOverloaded. Query instance for a particular COM GUID/interface support. (Inherited from C1.Util.DX.ComObject)
Public MethodHRESULT IDWriteTextFormat::SetFlowDirection([In] DWRITE_FLOW_DIRECTION flowDirection)  
Public MethodHRESULT IDWriteTextFormat::SetIncrementalTabStop([In] float incrementalTabStop)  
Public MethodHRESULT IDWriteTextFormat::SetLineSpacing([In] DWRITE_LINE_SPACING_METHOD lineSpacingMethod,[In] float lineSpacing,[In] float baseline)  
Public MethodHRESULT IDWriteTextFormat::SetParagraphAlignment([In] DWRITE_PARAGRAPH_ALIGNMENT paragraphAlignment)  
Public MethodHRESULT IDWriteTextFormat::SetReadingDirection([In] DWRITE_READING_DIRECTION readingDirection)  
Public MethodHRESULT IDWriteTextFormat::SetTextAlignment([In] DWRITE_TEXT_ALIGNMENT textAlignment)  
Public Method

Sets trimming options for text overflowing the layout width.

 
Public MethodHRESULT IDWriteTextFormat::SetWordWrapping([In] DWRITE_WORD_WRAPPING wordWrapping)  
Top
Public Events
 NameDescription
Public EventOccurs when this instance is fully disposed. (Inherited from C1.Util.DX.DisposeBase)
Public EventOccurs when this instance is starting to be disposed. (Inherited from C1.Util.DX.DisposeBase)
Top
Public Operators
Performs an explicit conversion from System.IntPtr to TextFormat.
Top
See Also

Reference

TextFormat Class
C1.Util.DX.DirectWrite Namespace