pdfCreate3DProjection
Set a 3D view's camera projection (orthographic/perspective,
C
BOOL32 __stdcall pdfCreate3DProjection(PPDF IPDF, void* IView, int32_t ProjType, int32_t ScaleType, double Diameter, double FOV);
Delphi
function pdfCreate3DProjection(const IPDF: PPDF; IView: Pointer; ProjType, ScaleType: Integer; Diameter, FOV: Double): LongBool; stdcall;
Purpose. Set a 3D view's camera projection (orthographic/perspective, field-of-view or view-diameter scaling).
Parameters.
| Parameter | Description |
|---|---|
IPDF | Document handle. |
IView | An opaque view handle from pdfCreate3DView. |
ProjType | Orthographic/perspective selector. |
ScaleType | Whether Diameter or FOV governs the projection scale. |
Diameter, FOV | The corresponding scale value. |
Return value. True if IView decodes to a valid view; False otherwise.
C# (P/Invoke)
wrappers/dotnet/LumasPdf.cs
[return: MarshalAs(UnmanagedType.Bool)]
Area
Core SDK
Category
Object Creation
Exported names
pdfCreate3DProjection
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.