In This Topic
Move or resize a label defined offset where the offset is defined in screen pixel units
Syntax
'Declaration
Public Sub Adjust( _
ByVal As System.Drawing.ContentAlignment, _
ByVal As System.Drawing.SizeF, _
ByVal As DicomViewer, _
ByVal As System.Integer _
)
'Usage
Dim instance As DicomLabel
Dim Where As System.Drawing.ContentAlignment
Dim Offset As System.Drawing.SizeF
Dim Viewer As DicomViewer
Dim Index As System.Integer
instance.Adjust(Where, Offset, Viewer, Index)
public void Adjust(
System.Drawing.ContentAlignment ,
System.Drawing.SizeF ,
DicomViewer ,
System.int
)
public procedure Adjust(
: System.Drawing.ContentAlignment;
: System.Drawing.SizeF;
: DicomViewer;
: System.Integer
);
public function Adjust(
: System.Drawing.ContentAlignment,
: System.Drawing.SizeF,
: DicomViewer,
: System.int
);
public: void Adjust(
System.Drawing.ContentAlignment ,
System.Drawing.SizeF ,
DicomViewer* ,
System.int
)
public:
void Adjust(
System.Drawing.ContentAlignment ,
System.Drawing.SizeF ,
DicomViewer^ ,
System.int
)
Parameters
- Where
- Which corner of the label to adjust
- Offset
- The distance to move that corner
- Viewer
- The viewer in which the image is displayed
- Index
- The index of the image, on which the label is displayed, within the viewer
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also