Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Shape Class / IsTextAutoFit Property


In This Topic
    IsTextAutoFit Property
    In This Topic
    Gets or sets if this Shape auto adjusts its size to fit the contained text.
    Syntax
    'Declaration
     
    Public Property IsTextAutoFit As Boolean
    'Usage
     
    Dim instance As Shape
    Dim value As Boolean
     
    instance.IsTextAutoFit = value
     
    value = instance.IsTextAutoFit
    public bool IsTextAutoFit {get; set;}

    Property Value

    true if the Shape auto adjusts its size to fit the contained text, otherwise false. By default, false.
    Remarks
    The IsTextWrap property must be false to auto fit the shape in width.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also