Platform SDK: Fax Services |
The FaxStatus object permits a fax client Visual Basic application to retrieve status information for a specific port on a connected fax server. The FaxStatus object has the following method and properties:
The FaxStatus object should be created only by a FaxPort object.
You can use the FaxStatus object to provide real-time status information about a parent FaxPort object. Some data is available at all times for an active fax port; other data is relative to sending or receiving a fax and is only available at those times.
You should not implement this class. The Microsoft standard implementation provides complete functionality. You can use the Visual Basic Object Browser to view the FaxStatus object's type library information in Visual Basic syntax.
To create a FaxStatus object
The following is a Visual Basic method of FaxStatus objects.
Method | Visual Basic Example |
---|---|
Refresh | |
Updates the FaxStatus object information for the associated parent FaxPort object. |
Dim FS As Object FS.Refresh() |
Following is a list of the Visual Basic properties of FaxStatus objects.
Property | Visual Basic Example |
---|---|
Address STRING Read-only |
|
Destination address for an outbound fax job on the specified port. |
Dim strAddress As String strAddress = objFaxStatus.Address |
CallerId STRING Read-only |
|
Information that identifies the calling device that sent the incoming fax transmission on the specified port. |
Dim strCallerId As String strCallerId = objFaxStatus.CallerId |
Csid STRING Read-only |
|
Called station identifier (CSID) associated with the fax transmission on the specified port. |
Dim strCsid As String strCsid = objFaxStatus.Csid |
CurrentPage LONG Read-only |
|
Page number in the fax transmission that the specified fax port is currently sending. |
Dim lCurrPage As Long lCurrPage = objFaxStatus.CurrentPage |
Description STRING Read-only |
|
String that describes the current status of the specified port. |
Dim strDescrip As String strDescrip = objFaxStatus.Description |
DeviceId LONG Read-only |
|
Permanent line identifier of the specified fax port. |
Dim lDeviceId As Long lDeviceId = objFaxStatus.DeviceId |
DeviceName STRING Read-only |
|
User-friendly display name for the specified fax port. |
Dim strDevName As String strDevName = objFaxStatus.DeviceName |
DocumentName STRING Read-only |
|
User-friendly document name associated with an active outbound fax transmission on the specified port. |
Dim strDocName As String strDocName = objFaxStatus.DocumentName |
DocumentSize LONG Read-only |
|
Size, in bytes, of the fax document associated with an active outbound job on the specified port. |
Dim lDocSize As Long lDocSize = objFaxStatus.DocumentSize |
ElapsedTime DATE Read-only |
|
Elapsed time, in seconds, for an active fax job on the specified port. |
Dim dElapsedTime As Date dElapsedTime = objFaxStatus.ElapsedTime |
PageCount LONG Read-only |
|
Total number of pages in an outbound fax transmission on the specified port. |
Dim lPageCount As Long lPageCount = objFaxStatus.PageCount |
Receive LONG Read-only |
|
Value that indicates whether the specified fax port is currently receiving a fax transmission. If this property is a nonzero value, the port is currently receiving a fax. |
Dim lReceive As Long lReceive = objFaxStatus.Receive |
RecipientName STRING Read-only |
|
Name of the recipient of the inbound fax transmission on the specified port. |
Dim str RecName As String strRecName = objFaxStatus.RecipientName |
RoutingString STRING Read-only |
|
String that contains routing data for inbound transmissions on the fax port; routing data is specific to a fax service provider. |
Dim strRoutString As String strRoutString = objFaxStatus.RoutingString |
Send LONG Read-only |
|
Value that indicates whether the specified fax port is currently sending a fax transmission. If this property is a nonzero value, the port is currently sending a fax. |
Dim lSend As Long lSend = objFaxStatus.Send |
SenderName STRING Read-only |
|
Name of the sender who queued the outbound fax job on the specified port. |
Dim strSenderName As String strSenderName = objFaxStatus.SenderName |
StartTime DATE Read-only |
|
Time, expressed in UTC, when the active fax job began transmitting a document on the specified port. |
Dim dStart As Date dStart = objFaxStatus.StartTime |
SubmittedTime DATE Read-only |
|
Time, expressed in UTC, when the user submitted the outbound fax job on the specified port. |
Dim dSubmitted As Date dSubmitted = objFaxStatus.SubmittedTime |
Tsid STRING Read-only |
|
Transmitting station identifier (TSID) associated with the fax transmission on the specified port. |
Dim strTsid As String strTsid = objFaxStatus.Tsid |