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

NameTypeAccessDescription
XdoubleRead/WriteGets or sets the x.
YdoubleRead/WriteGets or sets the y.
WidthdoubleRead/WriteGets or sets the width.
HeightdoubleRead/WriteGets or sets the height.
RoundedCornerRadiusdoubleRead/WriteCorner radius for rounded rectangles.
GraphInfoAspose.Pdf.GraphInfoRead/WriteGets or sets the graph info.
TextAspose.Pdf.Text.TextFragment?Read/WriteOptional text label rendered with the shape.

méthodes

SignatureDescription
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
 Français