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 if a character run has the Small caps effect, formatting lowercase text as capital letters and reducing their size. Small caps formatting does not affect numbers, punctutation, non-alphabetic chacters, or uppercase letters.

Signature
C#
C#
 public boolean SmallCaps{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property SmallCaps() As Boolean
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Format

menu

>

Font...

>

Font

tab

>

Effects

section

>

Small

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

caps

Example
Code Block
csharp
csharp
titleC#


          //--- Return SmallCaps
          bool smallCaps = oFont.SmallCaps;

          //--- Set SmallCaps
          oFont.SmallCaps = true;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return SmallCaps
          Dim smallCaps As Boolean = oFont.SmallCaps

          '--- Set SmallCaps
          oFont.SmallCaps = True
        
{code} {example}