We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Accessing all settings of MERGEFIELD

Thread ID:

Created:

Updated:

Platform:

Replies:

94199 Apr 28,2010 09:23 PM May 4,2010 03:50 AM Windows Forms 3
loading
Tags: DocIO
Administrator [Syncfusion]
Asked On April 28, 2010 09:23 PM

Hi,

I can access Textbefore and TextAfter and TextFormat properties of a MERGEFIELD.

What about checking for MERGEFORMAT switch?

Leads to a more generic question,how complete is FIELD support in DocIO? Can I create and extract all field types and switch settings?

Tim

Poornima R [Syncfusion]
Replied On April 29, 2010 07:59 AM

Hi Tim,

Thank you for your interest in Syncfusion Products.

We have prepared the sample for your requirement.Could you please find the sample from the below link. Try running the sample and let us know if this helps.

Sample link:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=F94199929871069.zip

Please let us know if you have any queries.

Regards,
Poornima

Administrator [Syncfusion]
Replied On April 29, 2010 05:10 PM

Hi,

How is the sample relevant to my question?

I am asking about WField/WMergeField, not form fields.

The main question was, how can I check for the MERGEFORMAT switch in a Word Field e.g.
{ MERGEFIELD "Test" /* MERGEFORMAT }

And how can I programatically add the /* MERGEFORMAT to a field definition when generating a document.


Poornima R [Syncfusion]
Replied On May 4, 2010 03:50 AM

Hi Tim,

Thank you for your update.

Sorry for the long delay in responding.Currently DocIO do not have support for programatically adding the mergeformat in the document. It can only preserve the mergeformats in the document.We have created the sample for your understanding.Could you please find the sample from the below link.Try running the sample and let us know if this helps.

Sample link:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=F94199-495929788.zip

Please let us know if this helps.

Regards,
Poornima

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;