# org.pdfclown.documents.contents.objects.TranslateTextRelative Class Reference

'Move to the start of the next line, offset from the start of the current line' operation [PDF:1.6:5.2]. More...

Inheritance diagram for org.pdfclown.documents.contents.objects.TranslateTextRelative:

List of all members.

## Public Member Functions
override void | Scan (ContentScanner.GraphicsState state)
| Applies this object to the specified graphics context, updating the specified graphics state.
override string | ToString ()
| TranslateTextRelative (string operator_, IList< PdfDirectObject > operands)
| TranslateTextRelative (double offsetX, double offsetY, bool leadSet)
| TranslateTextRelative (double offsetX, double offsetY)
override void | WriteTo (IOutputStream stream, Document context)
| Serializes this object to the specified stream.
## Static Public Member Functions
static Operation | Get (string operator_, IList< PdfDirectObject > operands)
| Gets an operation.
## Static Public Attributes
static readonly string | LeadOperatorKeyword = "TD"
| Lead parameter setting.
static readonly string | SimpleOperatorKeyword = "Td"
| No side effect.
## Protected Attributes
IList< PdfDirectObject > | operands
string | operator_
## Properties
bool | LeadSet`[get, set]`
| Gets/Sets whether this operation, as a side effect, sets the leading parameter in the text state.
double | OffsetX`[get, set]`
double | OffsetY`[get, set]`
IList< PdfDirectObject > | Operands`[get]`
string | Operator`[get]`

##

'Move to the start of the next line, offset from the start of the current line' operation [PDF:1.6:5.2].

## Constructor & Destructor Documentation

org.pdfclown.documents.contents.objects.TranslateTextRelative.TranslateTextRelative | ( | double | offsetX,
|  | double | offsetY |
| ) |  |  |

org.pdfclown.documents.contents.objects.TranslateTextRelative.TranslateTextRelative | ( | double | offsetX,
|  | double | offsetY,
|  | bool | leadSet |
| ) |  |  |

org.pdfclown.documents.contents.objects.TranslateTextRelative.TranslateTextRelative | ( | string | operator_,
|  | IList< PdfDirectObject > | operands |
| ) |  |  |

## Member Function Documentation

static Operation org.pdfclown.documents.contents.objects.Operation.Get | ( | string | operator_,
|  | IList< PdfDirectObject > | operands |
| ) |  |  | `[static, inherited]`

Gets an operation.

Parameters:

  | operator_ | Operator.
  | operands | List of operands.

override void org.pdfclown.documents.contents.objects.TranslateTextRelative.Scan | ( | ContentScanner.GraphicsState | state | ) | `[virtual]`

Applies this object to the specified graphics context, updating the specified graphics state.

Parameters:

  | state | Graphics state.

Reimplemented from org.pdfclown.documents.contents.objects.ContentObject.

override string org.pdfclown.documents.contents.objects.Operation.ToString | ( |  | ) | `[inherited]`

override void org.pdfclown.documents.contents.objects.Operation.WriteTo | ( | IOutputStream | stream,
|  | Document | context |
| ) |  |  | `[virtual, inherited]`

Serializes this object to the specified stream.

Parameters:

  | stream | Target stream.
  | context | Document context.

Implements org.pdfclown.documents.contents.objects.ContentObject.

Reimplemented in org.pdfclown.documents.contents.objects.InlineImageBody.

References org.pdfclown.objects.PdfObjectWrapper.File, and org.pdfclown.bytes.IOutputStream.Write().

Referenced by org.pdfclown.documents.contents.objects.MarkedContent.WriteTo().

## Member Data Documentation

readonly string org.pdfclown.documents.contents.objects.TranslateTextRelative.LeadOperatorKeyword = "TD"`[static]`

Lead parameter setting.

IList<PdfDirectObject> org.pdfclown.documents.contents.objects.Operation.operands`[protected, inherited]`

string org.pdfclown.documents.contents.objects.Operation.operator_`[protected, inherited]`

readonly string org.pdfclown.documents.contents.objects.TranslateTextRelative.SimpleOperatorKeyword = "Td"`[static]`

No side effect.

## Property Documentation

bool org.pdfclown.documents.contents.objects.TranslateTextRelative.LeadSet`[get, set]`

Gets/Sets whether this operation, as a side effect, sets the leading parameter in the text state.

double org.pdfclown.documents.contents.objects.TranslateTextRelative.OffsetX`[get, set]`

double org.pdfclown.documents.contents.objects.TranslateTextRelative.OffsetY`[get, set]`

IList<PdfDirectObject> org.pdfclown.documents.contents.objects.Operation.Operands`[get, inherited]`

string org.pdfclown.documents.contents.objects.Operation.Operator`[get, inherited]`

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.