DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / ClipTo Method
The area to clip to






    ClipTo Method
    Limits a line to the section within a given rectangle
    Syntax
    'Declaration
     
    
    Public Sub ClipTo( _
       ByVal Rectangle As System.Drawing.RectangleF _
    ) 
     
    'Usage
     
    
    Dim instance As DicomLabel
    Dim Rectangle As System.Drawing.RectangleF
     
    instance.ClipTo(Rectangle)

    Parameters

    Rectangle
    The area to clip to
    Remarks
    Although the type of the label is not explicitly checked (as the mehod merely changes the Area property, in practice it only makes sense to use this method for labels of type Line
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also