DrawingRectangle
Vue de l’ensemble
‘DrawingRectangle’ est une classe dans Aspose.PDF FOSS pour .NET. hérite de: Shape.
Une forme rectangulaire.
Cette classe fournit 2 méthodes pour travailler avec les objets DrawingRectangle dans des programmes .NET. Les méthodologies disponibles comprennent: ‘CheckBounds’, ‘DrawingsRektangles’. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l’Aspose.PDF FOSS pour le package .net. Propriétés: GraphInfo, Height , RoundedCornerRadius ; Text; Width et 1 plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
X | double | Read/Write | Gets or sets the x. |
Y | double | Read/Write | Gets or sets the y. |
Width | double | Read/Write | Gets or sets the width. |
Height | double | Read/Write | Gets or sets the height. |
RoundedCornerRadius | double | Read/Write | Corner radius for rounded rectangles. |
GraphInfo | Aspose.Pdf.GraphInfo | Read/Write | Gets or sets the graph info. |
Text | Aspose.Pdf.Text.TextFragment? | Read/Write | Optional text label rendered with the shape. |
méthodes
| Signature | Description |
|---|---|
DrawingRectangle(x: double, y: double, width: double, height: double) | Calls DrawingRectangle on this DrawingRectangle instance. |
CheckBounds(containerWidth: double, containerHeight: double) | Whether this shape lies within a containerWidth×containerHeight box anchored at the origin. |
Voir aussi
- Aspose.PDF pour .NET — API d’entreprise