'Declaration
Public Function TwainGetAvailablePaperSizeCount() As Integer
public int TwainGetAvailablePaperSizeCount()
public function TwainGetAvailablePaperSizeCount(): Integer;
public function TwainGetAvailablePaperSizeCount() : int;
public: int TwainGetAvailablePaperSizeCount();
public: int TwainGetAvailablePaperSizeCount();
Return Value
If Success, non zero: The number of available paper size values. Else 0 if fail -> Use
TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.