VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation Namespace / LineAnnotationDataBase Class / GetBoundingBox Methods / GetBoundingBox(PointF,SizeF,Single) Method
Syntax Requirements SeeAlso
In This Topic
    GetBoundingBox(PointF,SizeF,Single) Method (LineAnnotationDataBase)
    In This Topic
    Returns the bounding box of annotation with 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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also