IContactFormattedLabel Property |
returns the name + address as a multi-line string according to the country's address layout
Returns the name and mailing address of the contact formatted according to the national rules. Useful when generating address labels. There is no contact person info on the formatted label
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 IContact
Dim value As String
value = instance.FormattedLabel
property String^ FormattedLabel {
String^ get ();
}
Property Value
Type:
StringString – Company name and mailing address of the object
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 "Current contact formatted label is: " & vbCrLf & objSO.CurrentContact.FormattedLabel, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect"
end if
Set objSO = Nothing
See Also