Rescale(DicomViewer,Int32,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 DicomViewer, _
ByVal As System.Integer, _
ByVal As ScaleMode _
)
'Usage
Dim instance As DicomLabel
Dim Viewer As DicomViewer
Dim Index As System.Integer
Dim NewScaleMode As ScaleMode
instance.Rescale(Viewer, Index, NewScaleMode)
public void Rescale(
DicomViewer ,
System.int ,
ScaleMode
)
public procedure Rescale(
: DicomViewer;
: System.Integer;
: ScaleMode
);
public function Rescale(
: DicomViewer,
: System.int,
: ScaleMode
);
public: void Rescale(
DicomViewer* ,
System.int ,
ScaleMode
)
public:
void Rescale(
DicomViewer^ ,
System.int ,
ScaleMode
)
Parameters
- Viewer
- The viewer the label is currently being shown on
- Index
-
The index of the image within that viewer to which the label is intended to be
applied
- NewScaleMode
- The new ScaleMode property for the label
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also