com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Theme

  • java.lang.Object
    • com.aspose.slides.Theme
    • Method Detail

      • getEffective

        public final IThemeEffectiveData getEffective()

        Gets effective theme data with the inheritance applied.


         This example demonstrates getting effective theme properties.
         
         Presentation pres = new Presentation("MyPresentation.pptx");
         try
         {
                IThemeEffectiveData effectiveTheme  = pres.getSlides().get_Item(0).getThemeManager().getOverrideTheme().getEffective();
                System.out.println("Font scheme name: " + effectiveTheme.getFontScheme().getName());
                System.out.println("Major latin font: " + effectiveTheme.getFontScheme().getMajor().getLatinFont().getFontName());
                System.out.println("Minor latin font: " + effectiveTheme.getFontScheme().getMinor().getLatinFont().getFontName());
         } finally {
          if (pres != null) pres.dispose();
         }
         

        Specified by:
        getEffective in interface ITheme
        Returns:
        A IThemeEffectiveData.
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.

      • getVersion

        public abstract long getVersion()

        Version. Read-only long.