Skip to main content
All docs
V25.1
  • LineFillFormat.SetNoFill() Method

    Removes a fill from a shape line.

    Namespace: DevExpress.XtraRichEdit.API.Native

    Assembly: DevExpress.RichEdit.v25.1.Core.dll

    NuGet Package: DevExpress.RichEdit.Core

    Declaration

    void SetNoFill()

    Remarks

    The example below shows how to use the SetNoFill method to remove an outline from a rectangle.

    Rich_ShapeLine_NoFill

    // Create a rectangle.
    Shape rectangle = document.Shapes.InsertShape(document.Range.Start, ShapeGeometryPreset.Rectangle, new RectangleF(300, 200, 500, 300));
    rectangle.Fill.SetSolidFill(Color.FromArgb(0xFF, 0xEE, 0xAD));
    // Remove the rectangle's outline.
    rectangle.Line.Fill.SetNoFill();
    
    See Also