Search Results for

    Show / Hide Table of Contents

    XlsFile.SetTheme Method

    This is an advanced method, that allows you to set the full theme in use. Normally you will just want to replace colors, and you can do this with ExcelFile.SetColorTheme(TPrimaryThemeColor, TDrawingColor) and ExcelFile.GetColorTheme(TPrimaryThemeColor) methods.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public override void SetTheme(TTheme aTheme)

    Parameters

    <-> Parameter Type Description
    aTheme TTheme Theme to set. You would normally use the result from ExcelFile.GetTheme here, or you might load a method from a ".tmx" file.
    There are many standard tmx files available in an Office installation under the "Document Themes Version" folder

    See also

    • XlsFile
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com