Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

void FlickrNet::Flickr::NotesEdit ( string  noteId,
int  noteX,
int  noteY,
int  noteWidth,
int  noteHeight,
string  noteText 
) [inline]

Edit and update a note.

Parameters:
noteId The ID of the note to update.
noteX The X co-ordinate of the upper left corner of the note.
noteY The Y co-ordinate of the upper left corner of the note.
noteWidth The width of the note.
noteHeight The height of the note.
noteText The new text in the note.

Definition at line 1446 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.photos.notes.edit");
                  parameters.Add("note_id", noteId);
                  parameters.Add("note_x", noteX.ToString());
                  parameters.Add("note_y", noteY.ToString());
                  parameters.Add("note_w", noteWidth.ToString());
                  parameters.Add("note_h", noteHeight.ToString());
                  parameters.Add("note_text", noteText);

                  FlickrNet.Response response = GetResponseCache(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return;
                  }
                  else
                  {
                        throw new FlickrException(response.Error);
                  }
            }


Generated by  Doxygen 1.6.0   Back to index