DesktopSDK 0.7 - PenData Library (C#) Documentation
ContentsIndexHome
InstanceItem.OpenStream Method
InstanceItem Class  InstanceItem Members  Livescribe.DesktopSDK.PenData Namespace  InstanceItem Methods  Example

Gets the input stream for reading an individual file of penlet data from the desktop desktop Container.

C#
public ContainerStream OpenStream(string filePath);
Parameters 
Description 
string filePath 
The actual file path, such as: "Data\data1.dat". This is the file path defined in the penlet source code. 

Consider a penlet that writes data into the "Data\data1.dat" file on the smartpen. After transferring data from the smartpen to the desktop computer and storing it as a desktop container file, the file will contain a data file with the following path: "userdata\[Pen Serial]\[Penlet Name]\[InstanceId]\Data\data1.dat". However, the filePath parameter for this method is just "Data\data1.dat", which matches the declaration in the penlet source code.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright © 2010 Livescribe, Inc. All rights reserved.