共用方式為


CD2DLinearGradientBrush::Get

Returns ID2D1LinearGradientBrush interface

ID2D1LinearGradientBrush* Get();

Return Value

Pointer to an ID2D1LinearGradientBrush interface or NULL if object is not initialized yet.

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DLinearGradientBrush Class