Upravit

Sdílet prostřednictvím


Font2 Interface

Definition

Contains font attributes (for example, font name, font size, and color) for an object.

public interface class Font2 : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C039A-0000-0000-C000-000000000046")]
public interface Font2 : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C039A-0000-0000-C000-000000000046")>]
type Font2 = interface
    interface _IMsoDispObj
Public Interface Font2
Implements _IMsoDispObj
Attributes
Implements

Properties

Allcaps

True if the font is formatted as all capital letters. Read/write.

Application

Gets an object that represents the application the Font2 object is used in. Read-only.

AutorotateNumbers

Gets or sets a value that specifies whether the numbers in a numbered list should be rotated when the text is rotated. Read/write.

BaselineOffset

Gets or sets a value specifying the horizontal offset of the selected font. Read/write.

Bold

Gets or sets a value specifying whether the font should be bold. Read/write.

Caps

Gets or sets a value specifying that the text should be capitalized. Read/write.

Creator

Gets a value indicating the application the object was created in. Read-only.

DoubleStrikeThrough

True if the specified font is formatted as double strikethrough text. Read/write.

Embeddable

Gets a value indicating whether the font can be embedded in a page. Read-only.

Embedded

Gets a value specifying whether the font is embedded in a page. Read-only.

Equalize

Gets or sets a value specifying whether the text for a selection should be spaced equal distances apart. Read/write.

Fill
Glow

Gets a value indicating whether the font is displayed as a glow effect. Read-only.

Highlight

Gets a value indicating whether the font is displayed as highlighted. Read-only.

Italic

Gets or sets a value specifying whether the text for a selection is italic. Read/write.

Kerning

Gets or sets a value specifying the amount of spacing between text characters. Read/write.

Line

Gets a value specifiying the format of a line. Read-only.

Name

Gets or sets a value specifying the font to use for a selection. Read/write.

NameAscii

Gets or sets the font used for Latin text (characters with character codes from 0 (zero) through 127). Read/write.

NameComplexScript

Gets or sets the complex script font name. Used for mixed language text. Read/write.

NameFarEast

Gets or sets an East Asian font name. Read/write.

NameOther

Gets or sets the font used for characters whose character set numbers are greater than 127. Read/write.

Parent

Gets the parent of the Font2 object. Read-only.

Reflection

Gets a value specifying the type of reflection format for the selection of text. Read-only.

Shadow

Gets the value specifying the type of shadow effect for the selection of text. Read-only.

Size

Gets or sets a value specifying the size of the font. Read/write.

Smallcaps

Gets or sets a value specifying whether small caps should be used with the selection of text. Small caps are the same height as the lowercase letters in a selection of text. Read/write.

SoftEdgeFormat

Gets or sets a value specifying the type of soft edge effect used in a selection of text. Read/write.

Spacing

Gets or sets a value specifying the spacing between characters in a selection of text. Read/write.

Strike

Gets or sets a value specifying the strike format used for a selection of text. Read/write.

StrikeThrough

Gets or sets a value specifying the text should be rendered in a strikethrough appearance. Read/write.

Subscript

Gets or sets a value specifying that the selected text should be displayed as subscript. Read/write.

Superscript

Gets or sets a value specifying that the selected text should be displayed as superscript. Read/write.

UnderlineColor

Gets a value specifying the color of the underline for the selected text. Read-only.

UnderlineStyle

Gets or sets a value specifying the underline style for the selected text. Read/write.

WordArtformat

Gets or sets a value specifying the text effect for the selected text. Read/write.

Applies to