VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Dicom Namespace / DicomSimpleAnnotationDataBase Class / GetBoundingBox Methods / GetBoundingBox(PointF,SizeF,Single) Method
Syntax Requirements SeeAlso
In This Topic
GetBoundingBox(PointF,SizeF,Single) Method (DicomSimpleAnnotationDataBase)
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
)

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 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also