Modifica

Condividi tramite


ViewFont Interface

Definition

Represents the font used when formatting text in various portions of a view.

public interface class ViewFont : Microsoft::Office::Interop::Outlook::_ViewFont
[System.Runtime.InteropServices.Guid("0006309D-0000-0000-C000-000000000046")]
public interface ViewFont : Microsoft.Office.Interop.Outlook._ViewFont
Public Interface ViewFont
Implements _ViewFont
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _ViewFont.

The ViewFont object is used by the following objects to represent font formatting information applied to the text in various portions of a view:

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _ViewFont)
Bold

Returns or sets a Boolean (bool in C#) value that indicates if the font is bold in the ViewFont object. Read/write.

(Inherited from _ViewFont)
Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _ViewFont)
Color

Returns or sets an OlColor constant that indicates the color of the font in the ViewFont object. Read/write.

(Inherited from _ViewFont)
ExtendedColor

Returns or sets an OlCategoryColor constant as the font color of the view. Read/write.

(Inherited from _ViewFont)
Italic

Returns or sets a Boolean (bool in C#) value that indicates if the font is italicized in the ViewFont object. Read/write.

(Inherited from _ViewFont)
Name

Returns or sets a String (string in C#) value that represents the display name for the object. Read/write.

(Inherited from _ViewFont)
Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _ViewFont)
Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _ViewFont)
Size

Returns or sets an Integer (int in C#) value that represents the size (in points) of the font in the view. Read-only.

(Inherited from _ViewFont)
Strikethrough

Returns or sets a Boolean (bool in C#) value that indicates if the font is struck through with a horizontal line in the ViewFont object. Read/write.

(Inherited from _ViewFont)
Underline

Returns or sets a Boolean (bool in C#) value that indicates if the font is underlined in the ViewFont object. Read/write.

(Inherited from _ViewFont)

Applies to