DicomObjects.NET.8.48 Documentation
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 System.Drawing.RectangleF _
    ) 
    'Usage
     
    
    Dim instance As DicomLabel
    Dim Rectangle As System.Drawing.RectangleF
     
    instance.ClipTo(Rectangle)
    public void ClipTo( 
       System.Drawing.RectangleF Rectangle
    )
    public procedure ClipTo( 
        Rectangle: System.Drawing.RectangleF
    ); 
    public function ClipTo( 
       Rectangle : System.Drawing.RectangleF
    );
    public: void ClipTo( 
       System.Drawing.RectangleF Rectangle
    ) 
    public:
    void ClipTo( 
       System.Drawing.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.8 or higher

    See Also