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 _
)
'Usage
Dim instance As DicomLabel
Dim Image As DicomImage
Dim Size As System.Drawing.Size
Dim NewScaleMode As ScaleMode
instance.Rescale(Image, Size, NewScaleMode)
public void Rescale(
DicomImage ,
System.Drawing.Size ,
ScaleMode
)
public procedure Rescale(
: DicomImage;
: System.Drawing.Size;
: ScaleMode
);
public function Rescale(
: DicomImage,
: System.Drawing.Size,
: ScaleMode
);
public: void Rescale(
DicomImage* ,
System.Drawing.Size ,
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