PdfPoint.Subtract Method (PdfPoint, SizeF)

Note: This API is now obsolete.

Translates a PdfPoint by the negative of a specified size.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use new PdfPoint(pt.X - sz.Width, pt.Y - sz.Height) instead.")]
public static PdfPoint Subtract(
	PdfPoint pt,
	SizeF sz
)
VB
<ObsoleteAttribute("This method will be removed in the next release of Docotic.Pdf. Please use new PdfPoint(pt.X - sz.Width, pt.Y - sz.Height) instead.")>
Public Shared Function Subtract ( 
	pt As PdfPoint,
	sz As SizeF
) As PdfPoint

Parameters

pt
Type: BitMiracle.Docotic.Pdf.PdfPoint
The PdfPoint to translate.
sz
Type: System.Drawing.SizeF
The SizeF that specifies the numbers to subtract from the coordinates of pt.

Return Value

Type: PdfPoint
The translated PdfPoint.

See Also