Size<Type> Function
Creates a size structure that stores its width and height using the specified data type.
template<typename Type>
typename TypeTraits<Type>::Size Size(
Type width,
Type height
);
Template Parameters
Parameter | Description |
---|---|
Type | The data type used to store the width and height of the size. Possible values are FLOAT and UINT32. |
Parameters
Parameter | Description |
---|---|
width | The size's width. |
height | The size's height. |
Return Value
A size that contains the specified width and height.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
Header |
|
Library |
|
DLL |
|
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για