Table of Contents

Method Add

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

Add(XVector, XVector)

Adds two vectors and returns the result as a Vector structure.

public static XVector Add(XVector vector1, XVector vector2)

Parameters

vector1 XVector

The first vector to add.

vector2 XVector

The second vector to add.

Returns

XVector

Add(XVector, XPoint)

Translates a point by the specified vector and returns the resulting point.

public static XPoint Add(XVector vector, XPoint point)

Parameters

vector XVector

The vector used to translate point.

point XPoint

The point to translate.

Returns

XPoint