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 replace fonts based on size in this document.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean SubBasedOnSize{ get; set; }
{signature}{signature:</pre></td></tr></tbody></table>
} Public
Signature
vb.net
vb.net

<p>Public Property SubBasedOnSize() As Boolean
{signature}
{remarks}MS Word equivalent: Tools menu > Boolean</p>
Remarks

MS Word equivalent: Tools menu > Options...

>

Compatibility

tab

>

Compatibility

options

for

\

[filename

\

].doc

section

>

Options

>

Substitute

fonts

based

on

font

size {remarks} {example}{code:csharp|title=C#}

size

Example
Code Block
csharp
csharp
titleC#


          //--- Return SubBasedOnSize
          bool subBasedOnSize = cs.SubBasedOnSize;

          //--- Set SubBasedOnSize
          cs.SubBasedOnSize = true;
        
{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}


          '--- Return SubBasedOnSize
          Dim subBasedOnSize As Boolean = cs.SubBasedOnSize

          '--- Set SubBasedOnSize
          cs.SubBasedOnSize = True
        
{code} {example}