Includes&Samples |
INKEDLib, COM interface constants for VB.Net / VBScriptINKEDLib - interface constants This page contains simple VBA include for the INKEDLib COM library.
library parameters
MouseButtonenum, 4 members.'Defines values that specify which mouse button was pressed. Public Enum MouseButton 'No mouse button was pressed. NO_BUTTON = 0 '&H0 'The left mouse button was pressed. LEFT_BUTTON = 1 '&H1 'The right mouse button was pressed. RIGHT_BUTTON = 2 '&H2 'The middle mouse button was pressed. MIDDLE_BUTTON = 4 '&H4 End Enum SelAlignmentConstantsenum, 3 members.'Defines values that specify whether a paragraph is aligned along the left margin, along the right margin, or between the left and right margin of the control. Public Enum SelAlignmentConstants 'The paragraph is aligned along the left margin. rtfLeft = 0 '&H0 'The paragraph is aligned along the right margin. rtfRight = 1 '&H1 'The paragraph is centered between the left and right margins. rtfCenter = 2 '&H2 End Enum DISPID_InkEditenum, 36 members.Public Enum DISPID_InkEdit DISPID_Text = 0 '&H0 DISPID_TextRTF = 1 '&H1 DISPID_Hwnd = 2 '&H2 DISPID_DisableNoScroll = 3 '&H3 DISPID_Locked = 4 '&H4 DISPID_Enabled = 5 '&H5 DISPID_MaxLength = 6 '&H6 DISPID_MultiLine = 7 '&H7 DISPID_ScrollBars = 8 '&H8 DISPID_RTSelStart = 9 '&H9 DISPID_RTSelLength = 10 '&HA DISPID_RTSelText = 11 '&HB DISPID_SelAlignment = 12 '&HC DISPID_SelBold = 13 '&HD DISPID_SelCharOffset = 14 '&HE DISPID_SelColor = 15 '&HF DISPID_SelFontName = 16 '&H10 DISPID_SelFontSize = 17 '&H11 DISPID_SelItalic = 18 '&H12 DISPID_SelRTF = 19 '&H13 DISPID_SelUnderline = 20 '&H14 DISPID_DragIcon = 21 '&H15 DISPID_Status = 22 '&H16 DISPID_UseMouseForInput = 23 '&H17 DISPID_InkMode = 24 '&H18 DISPID_InkInsertMode = 25 '&H19 DISPID_RecoTimeout = 26 '&H1A DISPID_DrawAttr = 27 '&H1B DISPID_Recognizer = 28 '&H1C DISPID_Factoid = 29 '&H1D DISPID_SelInk = 30 '&H1E DISPID_SelInksDisplayMode = 31 '&H1F DISPID_Recognize = 32 '&H20 DISPID_GetGestStatus = 33 '&H21 DISPID_SetGestStatus = 34 '&H22 DISPID_Refresh = 35 '&H23 End Enum DISPID_InkEditEventsenum, 14 members.Public Enum DISPID_InkEditEvents DISPID_IeeChange = 1 '&H1 DISPID_IeeSelChange = 2 '&H2 DISPID_IeeKeyDown = 3 '&H3 DISPID_IeeKeyUp = 4 '&H4 DISPID_IeeMouseUp = 5 '&H5 DISPID_IeeMouseDown = 6 '&H6 DISPID_IeeKeyPress = 7 '&H7 DISPID_IeeDblClick = 8 '&H8 DISPID_IeeClick = 9 '&H9 DISPID_IeeMouseMove = 10 '&HA DISPID_IeeCursorDown = 21 '&H15 DISPID_IeeStroke = 22 '&H16 DISPID_IeeGesture = 23 '&H17 DISPID_IeeRecognitionResult = 24 '&H18 End Enum InkEditStatusenum, 3 members.'Represents the actions that allow you to collect ink, recognize it, and display it in text form. Public Enum InkEditStatus 'The control is idle (not collecting or recognizing ink). IES_Idle = 0 '&H0 'The control is collecting ink. IES_Collecting = 1 '&H1 'The control is recognizing ink. IES_Recognizing = 2 '&H2 End Enum InkModeenum, 3 members.'Defines values that specify the collection mode settings for drawn ink - whether ink collection is disabled, whether ink is collected, or whether ink and gestures are being collected. Public Enum InkMode 'Ink collection is disabled. IEM_Disabled = 0 '&H0 'Only ink is collected, creating a stroke. IEM_Ink = 1 '&H1 'Ink is collected and single stroke gestures are accepted. IEM_InkAndGesture = 2 '&H2 End Enum InkInsertModeenum, 2 members.'Defines values that specify how ink is inserted onto the control. Public Enum InkInsertMode 'Insert As Text IEM_InsertText = 0 '&H0 'Insert As Ink IEM_InsertInk = 1 '&H1 End Enum InkRasterOperationenum, 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 InkPenTipenum, 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 InkRecognizerCapabilitiesenum, 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 InkBoundingBoxModeenum, 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 TabletPropertyMetricUnitenum, 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 InkExtractFlagsenum, 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 InkPersistenceFormatenum, 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 InkPersistenceCompressionModeenum, 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 InkClipboardFormatsenum, 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 InkClipboardModesenum, 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 InkRecognitionConfidenceenum, 3 members.Public Enum InkRecognitionConfidence IRC_Strong = 0 '&H0 IRC_Intermediate = 1 '&H1 IRC_Poor = 2 '&H2 End Enum InkRecognizerCharacterAutoCompletionModeenum, 3 members.Public Enum InkRecognizerCharacterAutoCompletionMode IRCACM_Full = 0 '&H0 IRCACM_Prefix = 1 '&H1 IRCACM_Random = 2 '&H2 End Enum InkRecognitionModesenum, 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 InkRecognitionStatusenum, 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 InkDisplayModeenum, 2 members.'Defines values that specify how a selection is displayed on the control. Public Enum InkDisplayMode 'Only ink is collected, creating a stroke. IDM_Ink = 0 '&H0 'Specifies that the selection be displayed as text. IDM_Text = 1 '&H1 End Enum InkApplicationGestureenum, 44 members.Public Enum InkApplicationGesture IAG_AllGestures = 0 '&H0 IAG_NoGesture = 61440 '&HF000 IAG_Scratchout = 61441 '&HF001 IAG_Triangle = 61442 '&HF002 IAG_Square = 61443 '&HF003 IAG_Star = 61444 '&HF004 IAG_Check = 61445 '&HF005 IAG_Curlicue = 61456 '&HF010 IAG_DoubleCurlicue = 61457 '&HF011 IAG_Circle = 61472 '&HF020 IAG_DoubleCircle = 61473 '&HF021 IAG_SemiCircleLeft = 61480 '&HF028 IAG_SemiCircleRight = 61481 '&HF029 IAG_ChevronUp = 61488 '&HF030 IAG_ChevronDown = 61489 '&HF031 IAG_ChevronLeft = 61490 '&HF032 IAG_ChevronRight = 61491 '&HF033 IAG_ArrowUp = 61496 '&HF038 IAG_ArrowDown = 61497 '&HF039 IAG_ArrowLeft = 61498 '&HF03A IAG_ArrowRight = 61499 '&HF03B IAG_Up = 61528 '&HF058 IAG_Down = 61529 '&HF059 IAG_Left = 61530 '&HF05A IAG_Right = 61531 '&HF05B IAG_UpDown = 61536 '&HF060 IAG_DownUp = 61537 '&HF061 IAG_LeftRight = 61538 '&HF062 IAG_RightLeft = 61539 '&HF063 IAG_UpLeftLong = 61540 '&HF064 IAG_UpRightLong = 61541 '&HF065 IAG_DownLeftLong = 61542 '&HF066 IAG_DownRightLong = 61543 '&HF067 IAG_UpLeft = 61544 '&HF068 IAG_UpRight = 61545 '&HF069 IAG_DownLeft = 61546 '&HF06A IAG_DownRight = 61547 '&HF06B IAG_LeftUp = 61548 '&HF06C IAG_LeftDown = 61549 '&HF06D IAG_RightUp = 61550 '&HF06E IAG_RightDown = 61551 '&HF06F IAG_Exclamation = 61604 '&HF0A4 IAG_Tap = 61680 '&HF0F0 IAG_DoubleTap = 61681 '&HF0F1 End Enum AppearanceConstantsenum, 2 members.'Defines values that specify whether the control appears flat or 3D. Public Enum AppearanceConstants 'Control appears flat; paints without visual effects. rtfFlat = 0 '&H0 'Control appears 3D; paints with three-dimensional effects. rtfThreeD = 1 '&H1 End Enum BorderStyleConstantsenum, 2 members.'Defines values that specify whether the control has a border. Public Enum BorderStyleConstants 'Control has no border. rtfNoBorder = 0 '&H0 'Control has a fixed single border. rtfFixedSingle = 1 '&H1 End Enum InkMousePointerenum, 16 members.'Defines values that specify the type of mouse pointer to be displayed. Public Enum InkMousePointer 'Default mouse pointer. IMP_Default = 0 '&H0 'Arrow mouse pointer. IMP_Arrow = 1 '&H1 'Cross mouse pointer (crosshair pointer). IMP_Crosshair = 2 '&H2 'I beam mouse pointer. IMP_Ibeam = 3 '&H3 'Size NE SW mouse pointer (double arrow pointing northeast and southwest). IMP_SizeNESW = 4 '&H4 'Size N S mouse pointer (double arrow pointing north and south. IMP_SizeNS = 5 '&H5 'Size NW SE mouse pointer (double arrow pointing northwest and southeast). IMP_SizeNWSE = 6 '&H6 'Size W E mouse pointer (double arrow pointing west and east). IMP_SizeWE = 7 '&H7 'Up arrow mouse pointer. IMP_UpArrow = 8 '&H8 'Hourglass mouse pointer (wait). IMP_Hourglass = 9 '&H9 'No drop mouse pointer. IMP_NoDrop = 10 '&HA 'Arrow and hourglass mouse pointer. IMP_ArrowHourglass = 11 '&HB 'Arrow and question mark mouse pointer. IMP_ArrowQuestion = 12 '&HC 'Size all mouse pointer. IMP_SizeAll = 13 '&HD 'Hand mouse pointer. IMP_Hand = 14 '&HE 'Custom mouse pointer specified by the MouseIcon property. IMP_Custom = 99 '&H63 End Enum ScrollBarsConstantsenum, 4 members.'Defines values that specify whether the control has no scroll bars, a horizontal scroll bar, a vertical scroll bar, or both horizontal and vertical scroll bars. Public Enum ScrollBarsConstants 'No scroll bars. rtfNone = 0 '&H0 'Horizontal scroll bar only. rtfHorizontal = 1 '&H1 'Vertical scroll bar only. rtfVertical = 2 '&H2 'Both horizontal and vertical scroll bars. rtfBoth = 3 '&H3 End Enum TabletHardwareCapabilitiesenum, 4 members.Public Enum TabletHardwareCapabilities THWC_Integrated = 1 '&H1 THWC_CursorMustTouch = 2 '&H2 THWC_HardProximity = 4 '&H4 THWC_CursorsHavePhysicalIds = 8 '&H8 End Enum InkCursorButtonStateenum, 3 members.Public Enum InkCursorButtonState ICBS_Unavailable = 0 '&H0 ICBS_Up = 1 '&H1 ICBS_Down = 2 '&H2 End Enum |