Xceed Words for .NET v5.0 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 WrappingStyle 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 WrappingStyle 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).

    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