Share via


NotesWindowManagerPreview.GetNotePlacement(Int32) Method

Definition

Gets the view placement of a given note, to be stored in program memory or on disk storage and then restored by the application at a later time.

public:
 virtual IBuffer ^ GetNotePlacement(int noteViewId) = GetNotePlacement;
IBuffer GetNotePlacement(int const& noteViewId);
public IBuffer GetNotePlacement(int noteViewId);
function getNotePlacement(noteViewId)
Public Function GetNotePlacement (noteViewId As Integer) As IBuffer

Parameters

noteViewId
Int32

int

The unique identifier of the note whose placement is to be retrieved.

Returns

An array of bytes holding note placement data.

Remarks

GetNotePlacement and ShowNoteWithPlacement can be used together to store the placement of a note (say, while the application is exiting) and then restore the note to its previous placement on the screen (when the application is opened again).

Applies to