Click or drag to resize

ISOPictureId Property

Picture id (binary object id) in the database. You can set this id if you want two pictures to share the same binary object.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
int Id { get; set; }

Property Value

Type: Int32
Examples
VB
Dim db As New Database
If db.Login("<username>", "<password>") Then
    Dim picture As ISOPicture
    Dim msg As String = ""
    Dim person As SOPerson = db.GetPerson(7)
    picture = person.Picture
    msg = msg & "Height: " & picture.Height & vbCrLf
    msg = msg & "Id: " & picture.Id & vbCrLf
    msg = msg & "IsReadOnly: " & picture.IsReadOnly & vbCrLf
    msg = msg & "Type: " & picture.Type & vbCrLf
    msg = msg & "Width: " & picture.Width & vbCrLf
    MsgBox(msg)
Else
    MsgBox("could not log on")
End If
See Also