> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FontStyle-Objekt (IFontStyle-Schnittstelle)

> FontStyle-Objekt (IFontStyle-Schnittstelle) in der ABBYY FineReader Engine API — Macht die Eigenschaften eines Schriftstils verfügbar: Name, Typ, Größe, Farbe, fett/kursiv/unterstrichen/durchgestrichen/Kapitälchen, Grundlinie, horizontale Skalierung und Zeichenabstand.

Dieses Objekt macht die Eigenschaften eines Schriftstils verfügbar.

<div id="properties">
  ## Eigenschaften
</div>

<table>
  <thead>
    <tr>
      <th>
        <p>
          <strong>Name</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Type</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Description</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>
          <strong>Application</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/api-reference/engine-object-iengine-interface">
              Engine
            </a>
          </strong>

          ,{" "}

          <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties#readonly_properties">
            read-only
          </a>
        </p>
      </td>

      <td>
        <p>
          Returns the{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/engine-object-iengine-interface">
              Engine
            </a>

            {" "}
          </strong>

          object.
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Text decoration</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="color" />

          <strong>Color</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Sets the RGB value of the color for the font.</p>

        <p>
          The value of this property can be -1, which means that the color is
          transparent.
        </p>

        <Note>
          Der int-Wert wird aus dem RGB-Triplett mithilfe der folgenden Formel berechnet: (
          Rotwert ) + (256 × Grünwert ) + (65536 × Blauwert ), wobei der Rotwert
          die erste, der Grünwert die zweite und der Blauwert die dritte
          Triplettkomponente ist. Der int-Wert der Farbe Weiß beträgt beispielsweise
          16777215\.
        </Note>

        <p>By default, the font color is black, and the property returns 0.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="isbold" />

          <strong>IsBold</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Specifies whether the font is bold.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="isitalic" />

          <strong>IsItalic</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Specifies whether the font is italic.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="isunderlined" />

          <strong>IsUnderlined</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Specifies whether the font is underlined.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="isstrikeout" />

          <strong>IsStrikeout</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Specifies whether the font is strikeout.</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="issmallcaps" />

          <strong>IsSmallCaps</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Specifies whether the font has "small caps" style. This
          means that the small characters are displayed as small capitals.
        </p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Font attributes</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="fontname" />

          <strong>FontName</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              BSTR
            </a>
          </strong>

          , read-only
        </p>
      </td>

      <td>
        <p>
          Stores the name of the font. This property cannot be changed directly
          but via the <strong>SetFont</strong> method.
        </p>

        <p>By default, this value is "Times New Roman".</p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="fontsize" />

          <strong>FontSize</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Specifies the height of the font in twips. Twip is 1/20 of point, and
          point is 1/72".
        </p>

        <p>
          Default value of this property corresponds to 10 points or 200 twips.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="fonttype" />

          <strong>FontType</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/api-reference/enumerations/fonttypeenum">
              FontTypeEnum
            </a>
          </strong>

          , read-only
        </p>
      </td>

      <td>
        <p>
          Stores the type of the font. This property cannot be changed directly
          but via the <strong>SetFont</strong> method.
        </p>

        <p>By default, this value is FT\_Unknown.</p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Grundlinie, Skalierung und Zeichenabstand</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="baseline" />

          <strong>BaseLine</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Legt die Verschiebung eines Zeichens von der Grundlinie der Zeichenkette in
          Pixeln fest. Die Grundlinie der Zeichenkette wird durch die Eigenschaft{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/text-related-objects/paragraphline#baseline">
              IParagraphLine::BaseLine
            </a>
          </strong>

          {" "}

          definiert. Diese Eigenschaft wird hauptsächlich für in Text eingebettete Bilder verwendet.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="horizontalscale" />

          <strong>HorizontalScale</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>Speichert die horizontale Skalierung des Schriftstils in 1/1000.</p>

        <p>
          Der Standardwert dieser Eigenschaft ist 1000, was einer Skalierung von 100 % entspricht (keine Skalierung).
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="spacing" />

          <strong>Spacing</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>
        </p>
      </td>

      <td>
        <p>
          Gibt den zusätzlichen Zeichenabstand in Twips an. Ein Twip entspricht 1/20
          eines Punktes, und ein Punkt entspricht 1/72".
        </p>

        <p>Der Standardwert dieser Eigenschaft beträgt 0.</p>
      </td>
    </tr>

    <tr>
      <td colspan="3">
        <p>
          <em>Stilattribute</em>
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="isbasefont" />

          <strong>IsBaseFont</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              VARIANT\_BOOL
            </a>
          </strong>

          , nur lesbar
        </p>
      </td>

      <td>
        <p>
          Gibt an, ob dieser Schriftstil der Basisschriftstil des Absatzstils ist.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          <a name="overriddenstyleparams" />

          <strong>OverriddenStyleParams</strong>
        </p>
      </td>

      <td>
        <p>
          <strong>
            <a href="/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties">
              int
            </a>
          </strong>

          , nur lesbar
        </p>
      </td>

      <td>
        <p>
          Beschreibt die Stilparameter, die in diesem Stil gegenüber dem Basisschriftstil des Absatzes überschrieben wurden. Die Eigenschaft ist eine ODER-Verknüpfung der{" "}

          <strong>
            <a href="/de/fine-reader/engine/api-reference/enumerations/styleparamsenum">
              StyleParamsEnum
            </a>
          </strong>

          {" "}

          -Konstanten.
        </p>
      </td>
    </tr>
  </tbody>
</table>

<div id="methods">
  ## Methoden
</div>

| Name                                                                                          | Beschreibung                                            |
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| [SetFont](/de/fine-reader/engine/api-reference/text-related-objects/fontstyle/setfont-method) | Legt den neuen Schriftartnamen und den Schrifttyp fest. |

<div id="related-objects">
  ## Verwandte Objekte
</div>

<img src="https://mintcdn.com/abbyy/lsETHFYUFiongXSm/images/fine-reader/engine/fontstyle.gif?s=cb75207293e63588d7c3628a40b1a4cc" alt="FontStyle" width="297" height="54" data-path="images/fine-reader/engine/fontstyle.gif" />[](/de/fine-reader/engine/api-reference/text-related-objects/charparams#fontstyle)[](/de/fine-reader/engine/api-reference/text-related-objects/paragraphstyle#basefont)[](/de/fine-reader/engine/api-reference/text-related-objects/charparams)[](/de/fine-reader/engine/api-reference/text-related-objects/paragraphstyle)

[Objektdiagramm](/de/fine-reader/engine/api-reference/object-diagram)

<div id="see-also">
  ## Siehe auch
</div>

[ParagraphStyle](/de/fine-reader/engine/api-reference/text-related-objects/paragraphstyle)

[Arbeiten mit Eigenschaften](/de/fine-reader/engine/guided-tour/advanced-techniques/programming-aspects/working-with-properties)
