Beispiel #1
0
 public static void GetSlidesThemeColorScheme()
 {
     string name       = "template.pptx";
     int?   slideIndex = 0;
     string password   = null;
     string folder     = "input";
     string storage    = null;
     var    response   = themeApi.GetSlidesThemeColorScheme(name, slideIndex, password, folder, storage);
 }
Beispiel #2
0
        public void GetSlidesThemeColorScheme()
        {
            GeneralTestExecutor <GetSlidesThemeColorSchemeRequest, ColorSchemeResponse> testExecutor =
                new GeneralTestExecutor <GetSlidesThemeColorSchemeRequest, ColorSchemeResponse>("GetSlidesThemeColorScheme");
            GetSlidesThemeColorSchemeRequest request = testExecutor.PrepareRequest();
            ColorSchemeResponse response             = null;
            bool needAssertResponse = false;

            try
            {
                response           = m_instance.GetSlidesThemeColorScheme(request);
                needAssertResponse = true;
            }
            catch (Exception ex)
            {
                testExecutor.AssertException(ex);
            }
            if (needAssertResponse)
            {
                testExecutor.AssertResult(response);
            }
        }
        public void getSlidesThemeColorSchemeExample()
        {
            ColorSchemeResponse response = null;

            try
            {
                GetSlidesThemeColorSchemeRequest request = createGetSlidesThemeColorSchemeRequest();
                response = api.GetSlidesThemeColorScheme(request);
                Console.WriteLine(response.Code);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }