MSINKDIVLib, COM interface constants for VB.Net / VBScript

MSINKDIVLib - interface constants

     This page contains simple VBA include for the MSINKDIVLib COM library.

library parameters

File NameProgram Files\Common Files\Microsoft Shared\INK\INKDIV.DLL
Guid{56D04F5D-964F-4DBF-8D23-B97989E53418}
Enums19

InkDivisionType

enum, 4 members.
  'Defines values for the structural types within the DivisionResult object.
Public Enum InkDivisionType

  'A recognition segment.
  IDT_Segment = 0  '&H0

  'A line of handwriting that contains one or more recognition segments.
  IDT_Line = 1  '&H1

  'A block of strokes that contains one or more lines of handwriting.
  IDT_Paragraph = 2  '&H2

  'Ink that is not text.
  IDT_Drawing = 3  '&H3
End Enum

DISPID_InkDivider

enum, 4 members.
Public Enum DISPID_InkDivider
  DISPID_IInkDivider_Strokes = 1  '&H1
  DISPID_IInkDivider_RecognizerContext = 2  '&H2
  DISPID_IInkDivider_LineHeight = 3  '&H3
  DISPID_IInkDivider_Divide = 4  '&H4
End Enum

InkBoundingBoxMode

enum, 5 members.
  'Represents the collected strokes of ink within an ink space.
Public Enum InkBoundingBoxMode

  'Use the definition of each stroke (polyline or Bezier) to calculate the bounding box; includes the drawing attributes, such as pen width, in the calculation.
  IBBM_Default = 0  '&H0

  'Use the polyline of the strokes (ignore Bezier curve fitting requests) to calculate the bounding box; includes the drawing attributes in the calculation.
  IBBM_NoCurveFit = 1  '&H1

  'Use the Bezier curve fitting line of the strokes (apply Bezier curve fitting to all strokes) to calculate the bounding box; includes the drawing attributes in the calculation.
  IBBM_CurveFit = 2  '&H2

  'Use only the points of the strokes to calculate the bounding box.
  IBBM_PointsOnly = 3  '&H3

  'The union of a NoCurveFit request and a CurveFit request.
  IBBM_Union = 4  '&H4
End Enum

InkRasterOperation

enum, 16 members.
  'Defines values for performing raster operations on drawn ink.
Public Enum InkRasterOperation

  'Black pen color.
  IRO_Black = 1  '&H1

  'Inverse of MergePen.
  IRO_NotMergePen = 2  '&H2

  'Combination of the colors common to the background color and the inverse of the pen.
  IRO_MaskNotPen = 3  '&H3

  'Inverse of CopyPen.
  IRO_NotCopyPen = 4  '&H4

  'Combination of the colors common to both the pen and the inverse of the display.
  IRO_MaskPenNot = 5  '&H5

  'Inverse of the display color.
  IRO_Not = 6  '&H6

  'Combination of the colors in the pen and in the display color, but not in both.
  IRO_XOrPen = 7  '&H7

  'Inverse of MaskPen.
  IRO_NotMaskPen = 8  '&H8

  'Combination of the colors common to both the pen and the display.
  IRO_MaskPen = 9  '&H9

  'Inverse of XOrPen.
  IRO_NotXOrPen = 10  '&HA

  'No operation; the output remains unchanged.
  IRO_NoOperation = 11  '&HB

  'Combination of the display color and the inverse of the pen color.
  IRO_MergeNotPen = 12  '&HC

  'Pen color.
  IRO_CopyPen = 13  '&HD

  'Combination of the pen color and the inverse of the display color.
  IRO_MergePenNot = 14  '&HE

  'Combination of the pen color and the display color.
  IRO_MergePen = 15  '&HF

  'White pen color.
  IRO_White = 16  '&H10
End Enum

InkPenTip

enum, 2 members.
  'Defines values that specify whether the pen tip is round or rectangular.
Public Enum InkPenTip

  'Round pen tip.
  IPT_Ball = 0  '&H0

  'Rectangular pen tip.
  IPT_Rectangle = 1  '&H1
End Enum

TabletPropertyMetricUnit

enum, 8 members.
Public Enum TabletPropertyMetricUnit
  TPMU_Default = 0  '&H0
  TPMU_Inches = 1  '&H1
  TPMU_Centimeters = 2  '&H2
  TPMU_Degrees = 3  '&H3
  TPMU_Radians = 4  '&H4
  TPMU_Seconds = 5  '&H5
  TPMU_Pounds = 6  '&H6
  TPMU_Grams = 7  '&H7
End Enum

InkExtractFlags

enum, 3 members.
  'Defines values that determine what part of a stroke to remove from an Ink object.
Public Enum InkExtractFlags

  'The ink is copied from the Ink object.
  IEF_CopyFromOriginal = 0  '&H0

  'The ink is cut from the Ink object.
  IEF_RemoveFromOriginal = 1  '&H1

  'The ink is cut from the Ink object.
  IEF_Default = 1  '&H1
End Enum

InkPersistenceFormat

enum, 4 members.
  'Defines values that specify how ink is persisted.
Public Enum InkPersistenceFormat

  'Specifies that ink be persisted using Ink Serialized Format (ISF).
  IPF_InkSerializedFormat = 0  '&H0

  'Specifies that ink be persisted by encoding the ISF as a base64 stream.
  IPF_Base64InkSerializedFormat = 1  '&H1

  'Specifies that ink be persisted using a GIF file that contains ISF as meta-data embedded within the file.
  IPF_GIF = 2  '&H2

  'Specifies that ink be persisted by using a base64 encoded fortified GIF.
  IPF_Base64GIF = 3  '&H3
End Enum

InkPersistenceCompressionMode

enum, 3 members.
  'Defines values for the compression modes used to save the Ink object to a serialized format.
Public Enum InkPersistenceCompressionMode

  'Provides the best tradeoff between save-time and storage for the typical application.
  IPCM_Default = 0  '&H0

  'Use when minimizing storage space is more important than how fast the ink is saved.
  IPCM_MaximumCompression = 1  '&H1

  'Use when save-time is more important than the amount of storage space used and when compatibility between versions is important.
  IPCM_NoCompression = 2  '&H2
End Enum

InkClipboardFormats

enum, 10 members.
  'Defines values that specify the format of ink that is stored on the clipboard.
Public Enum InkClipboardFormats

  'Flag that can be used to verify whether any formats are present by checking against it.
  ICF_None = 0  '&H0

  'Specifies that ink be persisted using Ink Serialized Format (ISF).
  ICF_InkSerializedFormat = 1  '&H1

  'Specifies that ink is not expected to form words, but rather will be interpreted as a picture.
  ICF_SketchInk = 2  '&H2

  'Specifies that ink be expected to form words.
  ICF_TextInk = 6  '&H6

  'Specifies the enhanced metafile to play to create the background.
  ICF_EnhancedMetafile = 8  '&H8

  'Specifies that ink be stored as a metafile, or a list of commands that can be played back to draw a graphic.
  ICF_Metafile = 32  '&H20

  'Specifies the bitmap to use as the background.
  ICF_Bitmap = 64  '&H40

  'Specifies the formats that can be used for pasting, including tInk, sInk, and ISF.
  ICF_PasteMask = 7  '&H7

  'Specifies the formats that can be copied to the clipboard through Ink.
  ICF_CopyMask = 127  '&H7F

  'Specifies that ink be stored as a CopyMask.
  ICF_Default = 127  '&H7F
End Enum

InkClipboardModes

enum, 5 members.
  'Defines values that specify the copy options of the clipboard.
Public Enum InkClipboardModes

  'Copy the ink to the clipboard.
  ICB_Copy = 0  '&H0

  'Cut the ink and copy it to the clipboard.
  ICB_Cut = 1  '&H1

  'Do not copy the ink to the clipboard.
  ICB_ExtractOnly = 48  '&H30

  'Use delayed rendering to reduce the amount of data stored on the clipboard; the data is rendered when a paste request is made.
  ICB_DelayedCopy = 32  '&H20

  'Specifies that the Copy mode be used.
  ICB_Default = 0  '&H0
End Enum

InkRecognitionConfidence

enum, 3 members.
Public Enum InkRecognitionConfidence
  IRC_Strong = 0  '&H0
  IRC_Intermediate = 1  '&H1
  IRC_Poor = 2  '&H2
End Enum

InkRecognizerCharacterAutoCompletionMode

enum, 3 members.
Public Enum InkRecognizerCharacterAutoCompletionMode
  IRCACM_Full = 0  '&H0
  IRCACM_Prefix = 1  '&H1
  IRCACM_Random = 2  '&H2
End Enum

InkRecognitionModes

enum, 5 members.
Public Enum InkRecognitionModes
  IRM_None = 0  '&H0
  IRM_WordModeOnly = 1  '&H1
  IRM_Coerce = 2  '&H2
  IRM_TopInkBreaksOnly = 4  '&H4
  IRM_Max = 8  '&H8
End Enum

InkRecognizerCapabilities

enum, 12 members.
Public Enum InkRecognizerCapabilities
  IRC_DontCare = 1  '&H1
  IRC_Object = 2  '&H2
  IRC_FreeInput = 4  '&H4
  IRC_LinedInput = 8  '&H8
  IRC_BoxedInput = 16  '&H10
  IRC_CharacterAutoCompletionInput = 32  '&H20
  IRC_RightAndDown = 64  '&H40
  IRC_LeftAndDown = 128  '&H80
  IRC_DownAndLeft = 256  '&H100
  IRC_DownAndRight = 512  '&H200
  IRC_ArbitraryAngle = 1024  '&H400
  IRC_Lattice = 2048  '&H800
End Enum

InkRecognitionStatus

enum, 11 members.
  'Defines values that specify whether an error occurred during recognition, and if so, which error(s) occurred.
Public Enum InkRecognitionStatus

  'No error.
  IRS_NoError = 0  '&H0

  'The recognition was interrupted by a call to StopBackgroundRecognition.
  IRS_Interrupted = 1  '&H1

  'The ink recognition process failed.
  IRS_ProcessFailed = 2  '&H2

  'The ink could not be added.
  IRS_InkAddedFailed = 4  '&H4

  'Could not set the character Autocomplete mode.
  IRS_SetAutoCompletionModeFailed = 8  '&H8

  'Could not set the strokes.
  IRS_SetStrokesFailed = 16  '&H10

  'Could not set the guide.
  IRS_SetGuideFailed = 32  '&H20

  'Could not set the flags.
  IRS_SetFlagsFailed = 64  '&H40

  'Could not set the factoid.
  IRS_SetFactoidFailed = 128  '&H80

  'Could not set the suffix or the prefix.
  IRS_SetPrefixSuffixFailed = 256  '&H100

  'Could not set the word list.
  IRS_SetWordListFailed = 512  '&H200
End Enum

DISPID_InkDivisionResult

enum, 2 members.
Public Enum DISPID_InkDivisionResult
  DISPID_IInkDivisionResult_Strokes = 1  '&H1
  DISPID_IInkDivisionResult_ResultByType = 2  '&H2
End Enum

DISPID_InkDivisionUnit

enum, 4 members.
Public Enum DISPID_InkDivisionUnit
  DISPID_IInkDivisionUnit_Strokes = 1  '&H1
  DISPID_IInkDivisionUnit_DivisionType = 2  '&H2
  DISPID_IInkDivisionUnit_RecognizedString = 3  '&H3
  DISPID_IInkDivisionUnit_RotationTransform = 4  '&H4
End Enum

DISPID_InkDivisionUnits

enum, 3 members.
Public Enum DISPID_InkDivisionUnits
  DISPID_IInkDivisionUnits_NewEnum = -4  '&HFFFFFFFC
  DISPID_IInkDivisionUnits_Item = 0  '&H0
  DISPID_IInkDivisionUnits_Count = 1  '&H1
End Enum
WUtils.com