共用方式為


IHtmlDlgSafeHelper interface

Provides methods to programmatically access the color dialog box, the block format collection, and the fonts collection.

Members

The IHtmlDlgSafeHelper interface inherits from the IDispatch interface. IHtmlDlgSafeHelper also has these types of members:

  • Methods
  • Properties

Methods

The IHtmlDlgSafeHelper interface has these methods.

Method Description
ChooseColorDlg

Opens the system color-selection dialog box.

getCharset

Gets a VARIANT that specifies the character set of a given font.

 

Properties

The IHtmlDlgSafeHelper interface has these properties.

Property Description

blockFormats

Gets a collection of strings that specify the names of the available block format tags.

fonts

Gets a collection of all the system-supported fonts.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IBlockFormats

IFontNames