共用方式為


CD2DBitmap::GetSize

Returns the size, in device-independent pixels (DIPs), of the bitmap

CD2DSizeF GetSize() const;

Return Value

The size, in DIPs, of the bitmap.

Requirements

Header: afxrendertarget.h

See Also

Reference

CD2DBitmap Class