Resource Base
Table of contents

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:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 4.x
    • Version 4.2.0
    • Version 4.0.3
    • Version 4.0.2
    • Version 4.0.1
    • Version 4.0.0
  • Version 3.x
    • Version 3.3.10
    • Version 3.3.9
    • Version 3.3.8
    • Version 3.3.7
    • Version 3.3.6
    • Version 3.3.5
    • Version 3.3.4
    • Version 3.3.3
    • Version 3.3.2
    • Version 3.3.1
    • Version 3.3.0
    • Version 3.2.0
    • Version 3.1.0
    • Version 3.0.1
    • Version 3.0.0
  • Version 2.x
    • Version 2.3.5
    • Version 2.3.2
    • Version 2.3.1
    • Version 2.3.0
    • Version 2.1.4
    • Version 2.1.3
    • Version 2.1.0
    • Version 2.0.0
  • Version 1.x
    • Version 1.0.3
    • Version 1.0.1
    • Version 1.0.0
Change +