Click or drag to resize

IMcImageSetGetMaximumDimensionLength Method

Gets the maximum length of a dimension

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
Function GetMaximumDimensionLength ( 
	DimensionOfInterest As mcImageSetDimensions
) As Integer

Parameters

DimensionOfInterest
Type: MediaCy.IQL.SetsmcImageSetDimensions

Return Value

Type: Int32
Remarks
Gets the maximum length of a specified dimension at any position in a set. For an incomplete set, a dimension may report different lengths at different positions - this method will return the maximum length. Parameters DimensionOfInterest : The dimension whose maximum length should be returned
Examples
VB
Sub ShowSetDims()
If ImageSets.Count = 0 Then
exit sub
End If
Dim iLenZ As Long
iLenZ = ImageSets(0).GetMaximumDimensionLength(mcisdZ)
Dim iLenS As Long
iLenS = ImageSets(0).GetMaximumDimensionLength(mcisdSite)
MsgBox (CStr(ImageSets(0).CreationDate) + vbCrLf + CStr(iLenS) + " Sites with " + CStr(iLenZ) + " Z planes")
End Sub
See Also