ID2D1Bitmap::GetSize method
Returns the size, in device-independent pixels (DIPs), of the bitmap.
Syntax
virtual D2D1_SIZE_F GetSize() const = 0;
Parameters
This method has no parameters.
Return value
Type: D2D1_SIZE_F
The size, in DIPs, of the bitmap.
Remarks
A DIP is 1/96 of an inch. To retrieve the size in device pixels, use the ID2D1Bitmap::GetPixelSize method.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also