Rescale(DicomImage,Size,ScaleMode) Method
In This Topic
Transform a label from viewer coordinates to the chosen image scaling type
Syntax
'Declaration
Public Overloads Sub Rescale( _
ByVal As DicomImage, _
ByVal As System.Drawing.Size, _
ByVal As ScaleMode _
)
public void Rescale(
DicomImage ,
System.Drawing.Size ,
ScaleMode
)
Parameters
- Image
- The image to which the label is attached
- Size
-
The size of the displayed version of the image (the cell area, or size of the output on which the
label has been drawn
- NewScaleMode
- The new ScaleMode property for the label
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also