Exemple #1
0
        public void SetThemeProperties()
        {
            //ExStart:SetThemeProperties
            Document doc = new Document();

            Aspose.Words.Themes.Theme theme = doc.Theme;
            theme.MinorFonts.Latin = "Times New Roman";
            theme.Colors.Hyperlink = Color.Gold;
            //ExEnd:SetThemeProperties
        }
Exemple #2
0
        public void GetThemeProperties()
        {
            //ExStart:GetThemeProperties
            Document doc = new Document();

            Aspose.Words.Themes.Theme theme = doc.Theme;

            Console.WriteLine(theme.MajorFonts.Latin);
            Console.WriteLine(theme.MinorFonts.EastAsian);
            Console.WriteLine(theme.Colors.Accent1);
            //ExEnd:GetThemeProperties
        }