VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Dicom Namespace / DicomTextAnnotationData Class / GetBoundingBox Methods / GetBoundingBox(PointF,SizeF,Single) Method
Syntax Requirements SeeAlso
In This Topic
    GetBoundingBox(PointF,SizeF,Single) Method (DicomTextAnnotationData)
    In This Topic
    Returns the bounding box of annotation if annotation will have specified location, size and rotation.
    Syntax
    'Declaration
    
    Public Overloads Overrides Function GetBoundingBox( _
    ByVal location
    Location, in device-independent pixels (1/96th inch), of annotation.
    As System.Drawing.PointF, _
    ByVal size
    Size, in device-independent pixels (1/96th inch), of annotation.
    As System.Drawing.SizeF, _
    ByVal rotation
    Rotation, in degrees, of annotation.
    As Single _
    ) As System.Drawing.RectangleF
    public override System.Drawing.RectangleF GetBoundingBox(
    System.Drawing.PointF location,
    System.Drawing.SizeF size,
    float rotation
    )
    public: System.Drawing.RectangleF* GetBoundingBox(
    System.Drawing.PointF location,
    System.Drawing.SizeF* size,
    float rotation
    ); override
    public:
    System.Drawing.RectangleF^ GetBoundingBox(
    System.Drawing.PointF location,
    System.Drawing.SizeF^ size,
    float rotation
    ); override

    Parameters

    location
    Location, in device-independent pixels (1/96th inch), of annotation.
    size
    Size, in device-independent pixels (1/96th inch), of annotation.
    rotation
    Rotation, in degrees, of annotation.

    Return Value

    Bounding box of annotation.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also