Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Constructs a CD2DTextLayout object.
CD2DTextLayout(
CRenderTarget* pParentTarget,
const CString& strText,
CD2DTextFormat& textFormat,
const CD2DSizeF& sizeMax,
BOOL bAutoDestroy = TRUE
);
Parameters
pParentTarget
A pointer to the render target.strText
A CString object that contains the string to create a new CD2DTextLayout object from.textFormat
A CString object that contains the format to apply to the string.sizeMax
The size of the layout box.bAutoDestroy
Indicates that the object will be destroyed by owner (pParentTarget).
Requirements
Header: afxrendertarget.h