Shape

Overview

Shape is a class in Aspose.PDF FOSS for .NET.

Base class for drawable shapes.

This class declares 1 method for Shape objects in .NET programs. Available methods include: CheckBounds. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: GraphInfo, Text.

Properties

NameTypeAccessDescription
GraphInfoAspose.Pdf.GraphInfoRead/WriteGets or sets the drawing settings (line width, stroke and fill colours, dash pattern, opacity) used to paint the shape.
TextAspose.Pdf.Text.TextFragment?Read/WriteOptional text label rendered with the shape.

Methods

SignatureDescription
CheckBounds(containerWidth: double, containerHeight: double)Whether this shape lies within a containerWidth×containerHeight box anchored at the origin.

See Also

 English