ISOPictureWriteToFile Method |
Write picture to a file. Supports GIF, JPG, BMP formats.
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxvoid WriteToFile(
string path
)
Sub WriteToFile (
path As String
)
Dim instance As ISOPicture
Dim path As String
instance.WriteToFile(path)
void WriteToFile(
[InAttribute] String^ path
)
Parameters
- path
- Type: SystemString
full path to file
ExamplesDim db As New Database
If db.Login("jr", "") Then
Dim picture As ISOPicture
Dim msg As String = ""
Dim person As SOPerson = db.GetPerson(7)
person.Picture.WriteToFile("c:\john.jpg")
Else
MsgBox("could not log on")
End If
See Also