API referenceGraphics

pdfMoveTo

Begin a new subpath at (PosX, PosY) (PDF m operator).

CategoryPath construction

Purpose — Begin a new subpath at (PosX, PosY) (PDF m operator).

Declarations

C
BOOL32 __stdcall pdfMoveTo(PPDF IPDF, double PosX, double PosY);
Delphi
function pdfMoveTo(const IPDF: PPDF; PosX, PosY: Double): LongBool; stdcall; external 'LumasPdf.dll';

Parameters

ParameterTypeDescription
IPDFPPDFInstance handle with an open page/content stream.
PosX, PosYDoubleNew subpath start point.

Return valueTRUE on success; FALSE if no content stream is open.

See alsopdfLineTo

C# (P/Invoke)

wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Graphics
Category

Core

Exported names

pdfMoveTo

String variants

The …A form takes UTF-8, …W takes UTF-16; a bare name aliases the ANSI form.

See working code

Worked examples — complete programs in ten languages.