共用方式為


CD2DTextFormat::Create

Creates a CD2DTextFormat.

virtual HRESULT Create(
   CRenderTarget* */
);

Return Value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DTextFormat Class