Table of Contents

Method Translate

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Translate(double, double)

Shifts the content horizontally and vertically.

public LayoutContainer Translate(double offsetX, double offsetY)

Parameters

offsetX double

The horizontal offset.

offsetY double

The vertical offset.

Returns

LayoutContainer

The nested container with the applied offset.

Remarks

Read the Translate section of the Size, position, and rendering of containers article to know how to shift content.