NotesWindowManagerPreview.GetNotePlacement(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).