Re

Overview

Re is a class in Aspose.PDF FOSS for .NET. Inherits from: Operator.

re — Append rectangle (X, Y, Width, Height) as a complete subpath.

This class declares 7 methods for Re objects in .NET programs. Available methods include: Accept, IsTextShowOperator, Re, ToPdf, ToString, ValueEquals. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: CommandName, Height, Index, Width, X, Y.

Properties

NameTypeAccessDescription
XdoubleRead/WriteGets or sets the x coordinate of the rectangle’s lower-left corner, in user space units.
YdoubleRead/WriteGets or sets the y coordinate of the rectangle’s lower-left corner, in user space units.
WidthdoubleRead/WriteGets or sets the width of the rectangle, in user space units.
HeightdoubleRead/WriteGets or sets the height of the rectangle, in user space units.
CommandNamestringReadThe PDF command name (last token of the serialised form, e.g.
IndexintRead/Write1-based position of this operator within its containing OperatorCollection.

Methods

SignatureDescription
Re()Creates an re operator with a zero-sized rectangle at the origin.
Re(x: double, y: double, width: double, height: double)Creates an re operator that appends a rectangle as a complete subpath, with its lower-left corner at (x, y) and the given width and height, in user space units.
ToPdf()Calls ToPdf on this Re instance.
ToString()Calls ToString on this Re instance.
Accept(visitor: IOperatorSelector)Calls Accept(visitor) on this Re instance.
IsTextShowOperator(op: Operator)True when op is a text-showing operator (Tj / TJ / ’ / " — concrete subclasses of TextShowOperator).
ValueEquals(op: Operator)True when this operator’s serialised PDF form equals op’s.

See Also

 English