## LengthOrAuto class

يمثل حاوية لطول التخزين أو الوحدات "التلقائية" ..

```csharp
public class LengthOrAuto : Unit
```

## المنشئون

| اسم | وصف |
| --- | --- |
| [LengthOrAuto](lengthorauto/#constructor)() | يقوم بتهيئة مثيل جديد لملف`LengthOrAuto` فئة وتعيين الحالة على "تلقائي" . |
| [LengthOrAuto](lengthorauto/#constructor_1)(Length) | يقوم بتهيئة مثيل جديد لملف`LengthOrAuto`فئة وتعيين الحالة على "طول" . |

## الخصائص

| اسم | وصف |
| --- | --- |
| [IsAuto](../../aspose.html.drawing/lengthorauto/isauto/) { get; } | يحصل على قيمة تشير إلى ما إذا كان هذا المثيل في "تلقائي" . |
| [Length](../../aspose.html.drawing/lengthorauto/length/) { get; set; } | الحصول على الطول أو تحديده . |
| [UnitType](../../aspose.html.drawing/lengthorauto/unittype/) { get; } | يحصل على نوع الوحدة لملف[`Unit`](../unit/) . |

## طُرق

| اسم | وصف |
| --- | --- |
| override [Equals](../../aspose.html.drawing/unit/equals/)(object) | تحديد ما إذا كان الملف المحددObject ، يساوي هذا المثال. |
| override [Equals](../../aspose.html.drawing/lengthorauto/equals/#equals)(Unit) | تحديد ما إذا كان الملف المحدد[`Unit`](../unit/) ، يساوي هذا المثال. |
| override [GetHashCode](../../aspose.html.drawing/unit/gethashcode/)() | إرجاع رمز تجزئة لهذا المثال. |
| [SetAuto](../../aspose.html.drawing/lengthorauto/setauto/)() | إعادة تعيين الحاوية على الحالة "تلقائي" . |
| override [ToString](../../aspose.html.drawing/lengthorauto/tostring/)() | إرجاع أString الذي يمثل هذا المثال. |
| [implicit operator](../../aspose.html.drawing/lengthorauto/op_implicit/) | يقوم بإجراء تحويل ضمني من[`Length`](./length/) ل`LengthOrAuto` . |

### أنظر أيضا

* class [Unit](../unit/)
* مساحة الاسم [Aspose.Html.Drawing](../../aspose.html.drawing/)
* المجسم [Aspose.HTML](../../)


