LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetImageBoxesCount Method
See Also 
Leadtools.Dicom Namespace > DicomPrintScu Class : GetImageBoxesCount Method



Returns the number of the Basic Grayscale/Color Image Box SOP Instances created by the Print SCP when a Film Box is created.

Syntax

Visual Basic (Declaration) 
Public Function GetImageBoxesCount() As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomPrintScu
Dim value As Integer
 
value = instance.GetImageBoxesCount()
C# 
public int GetImageBoxesCount()
C++/CLI 
public:
int GetImageBoxesCount(); 

Return Value

The number of the Image Boxes referenced by the current (last created) Film Box; if no Film Box is currently created, the method will return 0.

Example

For an example, refer to DicomPrintScu.Associate.

Remarks

When the Print SCP is requested to create a Film Box, it will also create one or more Image Boxes, based on the Image Display Format. This method returns the count of these Image Boxes.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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