private static void SetThemeProperties(string dataDir)
{
// ExStart:SetThemeProperties
Document doc = new Document(dataDir);
Theme theme = doc.Theme;
// Set Times New Roman font as Body theme font for Latin Character.
theme.MinorFonts.Latin = "Times New Roman";
// Set Color.Gold for theme color Hyperlink.
theme.Colors.Hyperlink = Color.Gold;
// ExEnd:SetThemeProperties
}
}