الفئة Metered
Metered class
يوفر طرقًا لتعيين المفتاح المقيس.
public class Metered
المنشئات
| الاسم | الوصف |
|---|---|
| Metered() | يُهيئ نسخة جديدة من هذه الفئة. |
الطرق
| الاسم | الوصف |
|---|---|
| SetMeteredKey(string, string) | يضبط المفتاح العام والخاص المتدرج |
| static GetConsumptionCredit() | يحصل على رصيد الاستهلاك |
| static GetConsumptionQuantity() | يحصل على حجم ملف الاستهلاك |
أمثلة
في هذا المثال، سيتم محاولة ضبط المفتاح العام والخاص المتدرج
[C#]
Metered matered = new Metered();
matered.SetMeteredKey("PublicKey", "PrivateKey");
[Visual Basic]
Dim matered As Metered = New Metered
matered.SetMeteredKey("PublicKey", "PrivateKey")
ملف jar المكوّن:
Metered matered = new Metered();
matered.setMeteredKey("PublicKey", "PrivateKey");
انظر أيضاً
- namespace Aspose.Font
- assembly Aspose.Font