MoveTo
Overview
MoveTo is a class in Aspose.PDF FOSS for .NET.
Inherits from: Operator.
m — Begin new subpath at (X, Y).
This class declares 6 methods for MoveTo objects in .NET programs.
Available methods include: Accept, IsTextShowOperator, MoveTo, ToPdf, ToString, ValueEquals.
Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: CommandName, Index, X, Y.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
X | double | Read/Write | Gets or sets the x coordinate of the start of the new subpath, in user space units. |
Y | double | Read/Write | Gets or sets the y coordinate of the start of the new subpath, in user space units. |
CommandName | string | Read | The PDF command name (last token of the serialised form, e.g. |
Index | int | Read/Write | 1-based position of this operator within its containing OperatorCollection. |
Methods
| Signature | Description |
|---|---|
MoveTo(x: double, y: double) | Creates an m operator that begins a new subpath at (x, y) in user space. |
ToPdf() | Calls ToPdf on this MoveTo instance. |
ToString() | Calls ToString on this MoveTo instance. |
Accept(visitor: IOperatorSelector) | Calls Accept(visitor) on this MoveTo 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. |