Pegasus Class Library Help

The RawStrokes type exposes the following members.

Constructors

  NameDescription
RawStrokesOverloaded.

Methods

  NameDescription
AsByteArray
Return the RawStrokes as ByteArray. Used mainly for EXIF Tag Storage. To Create a RawStrokes Object from a ByteArray, use the suitable constructor.
AsImage
Create an Image from the Strokes.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FlipVertical
Flips the RawStrokes data around the Y-Axis. This is a special function for specific devices, which can write on both sides of the page. Do not use this function unless you write software specific to such device.

Remarks

You should call this function immediately after downloading data from the device, when the point data is in the device units.
FromISF
This static method returns a new RawStrokes object, made of ISF (Ink Serialized Format)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
DeviceAngle
The device angle relative to the paper, when the points were collected. The angle value affects drawing, since it turn the coordinate system in this angle. Some devices has the ability of locating them in the corner, or at the side of the paper. Usualy there is no need to change this value.
DeviceOffsetX
The DeviceOffsetX represents the offset of the Y Coordinate in the X direction. Most of Pen devices, use Coordinate system, which the Y axis is located in the middle of the page, while windows coordinate system, use the left side of the page as zero. This is a device characteristic, results from the device location on the page. Usualy there is no need to change this value.
DeviceOffsetY
The DeviceOffsetY represent the offset of the coordinate system in the Y direction, tward the bottom of the page. This is a device characteristic, results from the device location on the page. Usualy there is no need to change this value.
DPIx1000
The DPI of the strokes data. The DPI is 1/1000 of this value. For example, if DPIx1000==300,000, the DPI is equal to 300.
Items
The list of Stroke objects in the collection.

Properties

  NameDescription
ISF
Convert the RawStrokes to ISF data. This property is Read Only. To do the opposite operation, call the static method .

See Also