VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Dicom Namespace / DicomSimpleAnnotationDataBase Class / ChangeUnitOfMeasure(DicomUnitOfMeasure,VintasoftImage) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    ChangeUnitOfMeasure(DicomUnitOfMeasure,VintasoftImage) Method (DicomSimpleAnnotationDataBase)
    In This Topic
    Changes the annotation unit of measure and all properties, which are depend from unit of measure.
    Syntax
    'Declaration
    
    Public Overrides Sub ChangeUnitOfMeasure( _
    ByVal newValue
    The new value of unit of measure.
    As DicomUnitOfMeasure, _
    ByVal image
    The image associated with annotation.
    As Vintasoft.Imaging.VintasoftImage _
    )
    public override void ChangeUnitOfMeasure(
    DicomUnitOfMeasure newValue,
    Vintasoft.Imaging.VintasoftImage image
    )
    public: void ChangeUnitOfMeasure(
    DicomUnitOfMeasure newValue,
    Vintasoft.Imaging.VintasoftImage* image
    ); override
    public:
    void ChangeUnitOfMeasure(
    DicomUnitOfMeasure newValue,
    Vintasoft.Imaging.VintasoftImage^ image
    ); override

    Parameters

    newValue
    The new value of unit of measure.
    image
    The image associated with annotation.
    Exceptions
    ExceptionDescription
    Thrown if image is null.
    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