Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
ApplyOrientation Method
See Also 
Leadtools.Dicom.Common.DataTypes Namespace > OrientationConditionBase Class : ApplyOrientation Method



ds
The Leadtools.Dicom.DicomDataSet set that is being tested for a condition.
orientation
The orientation to apply if the condition is met for the ds parameter.
ds
The Leadtools.Dicom.DicomDataSet set that is being tested for a condition.
orientation
The orientation to apply if the condition is met for the ds parameter.
Returns true if the condition is met by ds; otherwise, it is false.

Syntax

Visual Basic (Declaration) 
Public MustOverride Function ApplyOrientation( _
   ByVal ds As DicomDataSet, _
   ByVal orientation As PlaneOrientation _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As OrientationConditionBase
Dim ds As DicomDataSet
Dim orientation As PlaneOrientation
Dim value As Boolean
 
value = instance.ApplyOrientation(ds, orientation)
C# 
public abstract bool ApplyOrientation( 
   DicomDataSet ds,
   PlaneOrientation orientation
)
C++/CLI 
public:
abstract bool ApplyOrientation( 
   DicomDataSet^ ds,
   PlaneOrientation^ orientation
) 

Parameters

ds
The Leadtools.Dicom.DicomDataSet set that is being tested for a condition.
orientation
The orientation to apply if the condition is met for the ds parameter.

Return Value

true if the condition is met for ds; otherwise, it is false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features