IPersonFormattedLabel Property |
FormattedLabel = name + formatted address
Returns the name and mailing address of the contact person formatted according to the national rules. Useful when generating address labels. Uses the contact address if the person has no address
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxstring FormattedLabel { get; }
ReadOnly Property FormattedLabel As String
Get
Dim instance As IPerson
Dim value As String
value = instance.FormattedLabel
property String^ FormattedLabel {
String^ get ();
}
Property Value
Type:
StringString – Text with the address formatted as labels
ExamplesFormattedLabel
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
MsgBox "The current contact person: " & objSO.CurrentPerson.formattedAddress, vbInformation + vbOkOnly, "SuperCOM"
else
MsgBox "Unable to connect"
end if
Set objSO = Nothing
See Also