Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns a boolean that represents if a character run has the All caps effect, formatting lowercase text as capital letters and reducing their size. All caps formatting does not affect numbers, punctutation, non-alphabetic chacters, or uppercase letters.

 caps

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

          //--- Return Caps
          bool caps = oFont.Caps;

          //--- Set Caps
          oFont.Caps = true;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return Caps
          Dim caps As Boolean = oFont.Caps

          '--- Set Caps
          oFont.Caps = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a {{boolean}} that represents if a character run has the All caps effect, formatting lowercase text as capital letters and reducing their size. All caps formatting does not affect numbers, punctutation, non\-alphabetic chacters, or uppercase letters.{excerpt}
{signature:C#}
 public boolean Caps{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property Caps() As Boolean
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Format menu > Font... > Font tab > Effects section > All
caps
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle