Xceed Words for .NET v5.2 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Picture Class / WrapPolygon Property


In This Topic
    WrapPolygon Property (Picture)
    In This Topic
    Gets or sets the list of points to use to define the polygon inside the Picture where no text can be drawn.
    Syntax
    'Declaration
     
    
    Public Property WrapPolygon As List(Of Point)
    'Usage
     
    
    Dim instance As Picture
    Dim value As List(Of Point)
     
    instance.WrapPolygon = value
     
    value = instance.WrapPolygon
    public List<Point> WrapPolygon {get; set;}

    Property Value

    The list of points to use to define the polygon inside the Picture where no text can be drawn. A minimum of 3 points are necessary in order to activate the WrapPolygon. By default, null (unless the Picture's WrapStyle property is set to WrapTight or WrapThrough, in which case it will contain the 4 corners of the Picture by default, meaning no text inside the Picture).  
    Remarks

    This property is used when the Picture's WrapStyle property is set to WrapTight or WrapThrough.

    The top left of a Picture has the coordinates (0,0), while the bottom right has the coordinates (21600,21600).

    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also