An NDoc Documented Class Library

Converter Methods

The methods of the Converter class are listed below. For a complete list of Converter class members, see the Converter Members topic.

Public Static Methods

createConvertedStrokes This function loops though each stroke contained in each Ink object in the document and uses the stripStrokeData function to create a Converter.Stroke for every Ink.Stroke.
createStrokes Loads the byte array representation of a document's Ink objects into an array of actual Ink objects.
extractXmlInkObject Extracts InkObjects from a Microsoft JNT.XML file, which store information about Ink.Stroke data. Converts each InkObject from a Base64 string into a byte array.
numberOfPages Return the number of Journal pages from a XmlDocument (Microsoft format)
pointsToDrawingPointsOverloaded. Convert Coverter.Points to Drawing.Points
pointToDrawingPoint Convert a Converter.Point to a Drawing.Point
readJntToXml This code is coppied verbatim from an example on MSDN by Casey Chesnut http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dntablet/html/tbconJournXML.asp It uses Microsoft's JournalReader.ReadFromStream method to change a binary JNT file into Microsoft's XML format
stripStrokeDataOverloaded. Takes an Ink.Stroke and outputs an internal representation that can then be output to an XML file
XmlToFragments Compute every shape that is not a plain Stroke of a document... that is, all substrokes
XmlToPoints Extract all Point information from a document
XmlToStrokes Compute the Strokes of a document... that is, no substrokes.

Private Static Methods

IsPropertyIncluded Given a Stroke and a GUID, checks the Stroke's PacketDescription to see if the field corresponding to the GUID is there.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Converter Class | Converter Namespace