Resource Base
Table of contents

This documentation is deprecated. It applies only to legacy version 2.x of Capture Vision and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

DrawingItemMediaType

The enumeration DrawingItemMediaType describes the media type of DrawingItems.

  • JavaScript
  • Android
  • Objective-C
  • Swift
export enum EnumDrawingItemMediaType {
   /** The mediate type of the DrawingItem is rectangle.*/
   DIMT_RECTANGLE = 1,
   /** The mediate type of the DrawingItem is quadrilateral.*/
   DIMT_QUADRILATERAL = 2,
   /** The mediate type of the DrawingItem is text.*/
   DIMT_TEXT = 4,
   /** The mediate type of the DrawingItem is arc.
   DIMT_ARC = 8,
   /** The mediate type of the DrawingItem is image.*/
   DIMT_IMAGE = 16,
   /** The mediate type of the DrawingItem is polygon.*/
   DIMT_POLYGON = 32,
   /** The mediate type of the DrawingItem is line.*/
   DIMT_LINE = 64,
   /** The mediate type of the DrawingItem is group.*/
   DIMT_GROUP = 128
}
@Retention(RetentionPolicy.CLASS)
public @interface EnumDrawingItemMediaType {
   // The mediate type of the DrawingItem is rectangle.
   public static final int DIMT_RECTANGLE = 1;
   // The mediate type of the DrawingItem is quadrilateral.
   public static final int DIMT_QUADRILATERAL = 2;
   // The mediate type of the DrawingItem is text.
   public static final int DIMT_TEXT = 4;
   // The mediate type of the DrawingItem is line.
   public static final int DIMT_LINE = 8;
}
typedef NS_ENUM(NSInteger, DSDrawingItemMediaType) {
   /**
    * The mediate type of the DrawingItem is rectangle.
    */
   DSDrawingItemMediaTypeRectangle = 1,
   /**
    * The mediate type of the DrawingItem is quadrilateral.
    */
   DSDrawingItemMediaTypeQuadrilateral = 2,
   /**
    * The mediate type of the DrawingItem is text.
    */
   DSDrawingItemMediaTypeText = 4,
   /**
    * The mediate type of the DrawingItem is line.
    */
   DSDrawingItemMediaTypeLine = 8
};
public enum DrawingItemMediaType : Int{
   /**
    * The mediate type of the DrawingItem is rectangle.
    */
   rectangle = 1
   /**
    * The mediate type of the DrawingItem is quadrilateral.
    */
   quadrilateral = 2
   /**
    * The mediate type of the DrawingItem is text.
    */
   text = 4
   /**
    * The mediate type of the DrawingItem is line.
    */
   line = 8
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: