Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns a boolean that represents whether or not Word will print colors in this document as black on non-color printers.

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

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Print colors as black on noncolor printers

Example
Code Block
csharp
csharp
titleC#

          //--- Return MapPrintColor
          bool mapPrintColor = cs.MapPrintColor;

          //--- Set MapPrintColor
          cs.MapPrintColor = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return MapPrintColor
          Dim mapPrintColor As Boolean = cs.MapPrintColor

          '--- Set MapPrintColor
          cs.MapPrintColor = True