Class RecognizerWebSocketSSRConfiguration

Implements

Constructors

Properties

Constructors

  • Parameters

    • Optionalconfiguration: {
          recognition?: {
              convert?: { force?: { "on-stylesheet-change"?: boolean } };
              export?: {
                  image?: {
                      guides?: boolean;
                      viewport?: {
                          height?: (...) | (...);
                          width?: (...) | (...);
                          x?: (...) | (...);
                          y?: (...) | (...);
                      };
                  };
                  "image-resolution"?: number;
                  jiix?: {
                      "bounding-box"?: boolean;
                      "full-stroke-ids"?: boolean;
                      ids?: boolean;
                      strokes?: boolean;
                      style?: boolean;
                      text?: {
                          chars?: (...)
                          | (...)
                          | (...);
                          lines?: (...) | (...) | (...);
                          words?: (...) | (...) | (...);
                      };
                  };
                  mathml?: { flavor?: { name?: (...)
                  | (...) } };
              };
              lang?: string;
              math?: {
                  customGrammar?: string;
                  customGrammarContent?: string;
                  customGrammarId?: string;
                  eraser?: { "erase-precisely"?: boolean };
                  margin?: { bottom?: number; left?: number; right?: number; top?: number };
                  mimeTypes?: (
                      | undefined
                      | "application/vnd.myscript.jiix"
                      | "application/x-latex"
                      | "application/mathml+xml"
                  )[];
                  "recognition-timeout"?: number;
                  "session-time"?: number;
                  solver?: {
                      "angle-unit"?: TAngleUnit;
                      "decimal-separator"?: string;
                      enable?: boolean;
                      "fractional-part-digits"?: number;
                      options?: TSolverOptions;
                      "rounding-mode"?: TRoundingMode;
                  };
                  "undo-redo"?: { mode?: TUndoRedoMode };
              };
              renderer?: {
                  debug?: { "draw-image-boxes"?: boolean; "draw-text-boxes"?: boolean };
              };
              text?: {
                  configuration?: {
                      addLKText?: boolean;
                      customLexicon?: ((...) | (...))[];
                      customResources?: ((...) | (...))[];
                  };
                  eraser?: { "erase-precisely"?: boolean };
                  guides?: { enable?: boolean };
                  margin?: { bottom?: number; left?: number; right?: number; top?: number };
                  mimeTypes?: (undefined | "text/plain" | "application/vnd.myscript.jiix")[];
                  text?: boolean;
              };
              type?: { readonly [key: number]: undefined
              | string };
          };
          server?: {
              applicationKey?: string;
              hmacKey?: string;
              host?: string;
              scheme?: TScheme;
              version?: string;
              websocket?: {
                  autoReconnect?: boolean;
                  fileChunkSize?: number;
                  maxPingLostCount?: number;
                  maxRetryCount?: number;
                  pingDelay?: number;
                  pingEnabled?: boolean;
              };
          };
      }

    Returns RecognizerWebSocketSSRConfiguration

Properties