public static string GetJavaScriptEventName(AGSimplePdfViewEventType type)
        {
            switch (type)
            {
            case AGSimplePdfViewEventType.Error:
                return("topError");

            case AGSimplePdfViewEventType.StartLoading:
                return("topStartLoading");

            case AGSimplePdfViewEventType.EndLoading:
                return("topEndLoading");

            default:
                return("topUnknownEvent");
            }
        }
 public AGSimplePdfViewEvent(int viewTag, AGSimplePdfViewEventType type, JObject data) : base(viewTag)
 {
     _type = type;
     _data = data;
 }