|
Gets the number of details. |
|
|
SHORT GetNumDetails () |
|
|
Return value |
A SHORT containing the number of details of the current document. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
// Get the number of details of the current document
short sNumDets;
pSOrder->PrepareDocument (paView);
sNumDets = pSOrder->GetNumDetails ();
if (sNumDets != 0)
{
// Process data
}
pSOrder->CancelDocument ();
|
|
|
C# |
|
// Get the number of details of the current document
short sNumDets;
oSOrder.PrepareDocument (ePrepareAction.paView);
sNumDets = oSOrder.GetNumDetails ();
if (sNumDets != 0)
{
// Process data
}
oSOrder.CancelDocument ();
|
|
|
VBS |
|
' Get the number of details of the current document
Dim sNumDets
Call oSOrder.PrepareDocument(paView)
sNumDets = oSOrder.GetNumDetails()
If sNumDets <> 0 Then
' Process data
End If
Call oSOrder.CancelDocument()
|
|
|
VB.NET |
|
' Get the number of details of the current document
Dim sNumDets As Short
oSOrder.PrepareDocument(ePrepareAction.paView)
sNumDets = oSOrder.GetNumDetails()
If sNumDets <> 0 Then
' Process data
End If
oSOrder.CancelDocument()
|
|