ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / TextFormat Class
Properties Methods Events


In This Topic
    TextFormat Class Members
    In This Topic

    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 MethodOverloaded. Clean up any resources being used. (Inherited from C1.Util.DX.ComObject)
    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
    Protected Methods
     NameDescription
    Protected MethodReleases unmanaged resources and performs other cleanup operations before the C1.Util.DX.DisposeBase is reclaimed by garbage collection. (Inherited from C1.Util.DX.DisposeBase)
    Protected MethodOverloaded. Initializes this instance with a pointer from a temporary object and set the pointer of the temporary object to IntPtr.Zero. (Inherited from C1.Util.DX.CppObject)
    Protected MethodMethod called when the NativePointer is updated. (Inherited from C1.Util.DX.ComObject)
    Protected MethodMethod called when NativePointer is going to be update. (Inherited from C1.Util.DX.ComObject)
    Protected MethodQuery Interface for a particular interface support and attach to the given instance. (Inherited from C1.Util.DX.ComObject)
    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