Partager via


CRenderTarget::SetDpi

Sets the dots per inch (DPI) of the render target.

void SetDpi(
   const CD2DSizeF& sizeDPI
);

Parameters

  • sizeDPI
    A value greater than or equal to zero that specifies the horizontal/verticalDPI of the render target.

Requirements

Header: afxrendertarget.h

See Also

Reference

CRenderTarget Class