none
How to avoid/ignaore AlternateContent of Choice and Fallback in document using openXML C#, since word processing textframes are coming in word 2013 RRS feed

  • Question

  • How to avoid/ignaore  AlternateContent of Choice and Fallback in document using openXML C#, since word processing textframes are coming in word 2013  .

    R L Kiran

    Wednesday, August 22, 2018 5:02 PM

All replies

  • I think you should not use them at the same time. AlternateContent still is the main way for C# programming.

    Some code for C# WPF:

    <Grid>
            <mc:AlternateContent>
                <mc:Choice Requires="debug">
                    <TextBlock Text="Debug mode!!" />
                </mc:Choice>
                <mc:Fallback>
                    <TextBlock Text="Release mode here!" />
                </mc:Fallback>
            </mc:AlternateContent>
           
        </Grid>


    Thursday, August 23, 2018 7:34 AM
    Moderator
  • Hi Seiya ,

      Could you explain in brief, with using C# and open xml properties, since WPF not using.

      


    R L Kiran

    Monday, August 27, 2018 12:46 PM
  • What is project template do you use now? and please provide the detail what you have tried. So we can help you based on your researching.

    Seiya


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread.

    Tuesday, August 28, 2018 7:52 AM
    Moderator