Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Picture Class / Cropping Property


In This Topic
    Cropping Property
    In This Topic
    Gets or sets the portion of the unscaled original image to draw (from 0 to 100 on the 4 sides).
    Syntax
    'Declaration
     
    Public Property Cropping As SideValues
    'Usage
     
    Dim instance As Picture
    Dim value As SideValues
     
    instance.Cropping = value
     
    value = instance.Cropping
    public SideValues Cropping {get; set;}

    Property Value

    SideValues value indicating the portion of the unscaled original image to draw.
    Remarks

    Each edge of the image is defined by a percentage offset from the edge of the bounding box.

    For example, a left offset of 25% specifies that the left edge of the image is located to the right of the bounding box's left edge by 25% of the bounding box's width. Example of a value for the left edge: 25.000.

    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