|
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;
pSInvce->PrepareDocument (paView);
sNumDets = pSInvce->GetNumDetails ();
if (sNumDets != 0)
{
// Process data
}
pSInvce->CancelDocument ();
|
|
|
C# |
|
// Get the number of details of the current document
short sNumDets;
oSInvce.PrepareDocument (ePrepareAction.paView);
sNumDets = oSInvce.GetNumDetails ();
if (sNumDets != 0)
{
// Process data
}
oSInvce.CancelDocument ();
|
|
|
VBS |
|
' Get the number of details of the current document
Dim sNumDets
Call oSInvce.PrepareDocument(paView)
sNumDets = oSInvce.GetNumDetails()
If sNumDets <> 0 Then
' Process data
End If
Call oSInvce.CancelDocument()
|
|
|
VB.NET |
|
' Get the number of details of the current document
Dim sNumDets As Short
oSInvce.PrepareDocument(ePrepareAction.paView)
sNumDets = oSInvce.GetNumDetails()
If sNumDets <> 0 Then
' Process data
End If
oSInvce.CancelDocument()
|
|