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
Wiki Markup
{description}
{excerpt}Sets or returns a [Section.NumberFormat|Section.NumberFormat] object that represents the page number format for this section. There are 5 type of page number formats:{excerpt}
{signature:C#}
 public NumberFormat PageNumberFormat{ get; set; }
{signature}{signature:vb.net}
Public Property PageNumberFormat() As NumberFormat
{signature}
{remarks}MS Word equivalent: Insert menu > Page Numbers... > Format... button > Number format:

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

          //--- Return PageNumberFormat
          Section.NumberFormat oPageNumberFormat = oSection.PageNumberFormat;

          //--- Set PageNumberFormat
          oSection.PageNumberFormat = Section.NumberFormat.Arabic;
        {code}
{code:vb.net|title=vb.net}

          '--- Return PageNumberFormat
          Dim oPageNumberFormat As Section.NumberFormat = oSection.PageNumberFormat

          '--- Set PageNumberFormat
          oSection.PageNumberFormat = Section.NumberFormat.Arabic
        {code}

{example}