Page tree
    Created with Raphaël 2.1.0
    Loading...
Skip to end of metadata
Go to start of metadata

Description

Sets or returns a boolean representing if Word will only print the data inside a form field in this document. This is typically used to print the data entered into an online form without printing the online form.

C#
public boolean PrintDataInFormFields{ get; set; }
vb.net
Public Property PrintDataInFormFields() As Boolean

Remarks

The default value for a new Document is false.

MS Word equivalent: File menu > Print... > Options... button > Options for current document only section > Print data only for forms
Or
File menu > Page Setup > Paper tab > Print options... button > Options for current document only section > Print data only for forms

Examples

C#
//--- Return PrintDataInFormFields
bool printData = oDocument.PrintDataInFormFields;
 
//--- Set PrintDataInFormFields
oDocument.PrintDataInFormFields = true;
vb.net
'--- Return PrintDataInFormFields
Dim printData As Boolean = oDocument.PrintDataInFormFields
 
'--- Set PrintDataInFormFields
oDocument.PrintDataInFormFields = True
  • No labels