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



In This Topic
    ClipTo Method
    In This Topic
    Limits a line to the section within a given rectangle
    Syntax
    'Declaration
     
    Public Sub ClipTo( _
       ByVal Rectangle As RectangleF _
    ) 
    'Usage
     
    Dim instance As DicomLabel
    Dim Rectangle As RectangleF
     
    instance.ClipTo(Rectangle)
    public void ClipTo( 
       RectangleF Rectangle
    )
    public:
    void ClipTo( 
       RectangleF 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.0 or higher

    See Also