diff --git a/download_package.sh b/download_package.sh
index e810976..7027703 100755
--- a/download_package.sh
+++ b/download_package.sh
@@ -1,2 +1,2 @@
dotnet build src/PDFiumCoreBindingsGenerator/PDFiumCoreBindingsGenerator.csproj -c Release
-dotnet ./src/PDFiumCoreBindingsGenerator/bin/Release/net6.0/PDFiumCoreBindingsGenerator.dll 132471191 false
+dotnet ./src/PDFiumCoreBindingsGenerator/bin/Release/net6.0/PDFiumCoreBindingsGenerator.dll 135034211 false
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index caf9485..69b8ee2 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -1,6 +1,6 @@
- 121.0.6164.0
+ 122.0.6205.0
diff --git a/src/PDFiumCore/PDFiumCore.cs b/src/PDFiumCore/PDFiumCore.cs
index 0ddebc7..d21ada2 100644
--- a/src/PDFiumCore/PDFiumCore.cs
+++ b/src/PDFiumCore/PDFiumCore.cs
@@ -1,7 +1,7 @@
-// Built from precompiled binaries at https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium/6164
-// Github release api https://api.github.com/repos/bblanchon/pdfium-binaries/releases/132471191
-// PDFium version v121.0.6164.0 chromium/6164 [master]
-// Built on: Mon, 11 Dec 2023 22:09:01 GMT
+// Built from precompiled binaries at https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium/6205
+// Github release api https://api.github.com/repos/bblanchon/pdfium-binaries/releases/135034211
+// PDFium version v122.0.6205.0 chromium/6205 [master]
+// Built on: Wed, 27 Dec 2023 14:06:04 GMT
// ----------------------------------------------------------------------------
//
// This is autogenerated code by CppSharp.
@@ -9262,10 +9262,10 @@ public partial struct __Internal
internal static extern void FPDFPageSetRotation(__IntPtr page, int rotate);
[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_InsertObject", CallingConvention = __CallingConvention.Cdecl)]
- internal static extern void FPDFPageInsertObject(__IntPtr page, __IntPtr page_obj);
+ internal static extern void FPDFPageInsertObject(__IntPtr page, __IntPtr page_object);
[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_RemoveObject", CallingConvention = __CallingConvention.Cdecl)]
- internal static extern int FPDFPageRemoveObject(__IntPtr page, __IntPtr page_obj);
+ internal static extern int FPDFPageRemoveObject(__IntPtr page, __IntPtr page_object);
[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_CountObjects", CallingConvention = __CallingConvention.Cdecl)]
internal static extern int FPDFPageCountObjects(__IntPtr page);
@@ -9280,7 +9280,7 @@ public partial struct __Internal
internal static extern int FPDFPageGenerateContent(__IntPtr page);
[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPageObj_Destroy", CallingConvention = __CallingConvention.Cdecl)]
- internal static extern void FPDFPageObjDestroy(__IntPtr page_obj);
+ internal static extern void FPDFPageObjDestroy(__IntPtr page_object);
[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPageObj_HasTransparency", CallingConvention = __CallingConvention.Cdecl)]
internal static extern int FPDFPageObjHasTransparency(__IntPtr page_object);
@@ -9295,7 +9295,7 @@ public partial struct __Internal
internal static extern int FPDFPageObjGetMatrix(__IntPtr page_object, __IntPtr matrix);
[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPageObj_SetMatrix", CallingConvention = __CallingConvention.Cdecl)]
- internal static extern int FPDFPageObjSetMatrix(__IntPtr path, __IntPtr matrix);
+ internal static extern int FPDFPageObjSetMatrix(__IntPtr page_object, __IntPtr matrix);
[SuppressUnmanagedCodeSecurity, DllImport("pdfium", EntryPoint = "FPDFPage_TransformAnnots", CallingConvention = __CallingConvention.Cdecl)]
internal static extern void FPDFPageTransformAnnots(__IntPtr page, double a, double b, double c, double d, double e, double f);
@@ -9667,31 +9667,31 @@ public static void FPDFPageSetRotation(global::PDFiumCore.FpdfPageT page, int ro
}
///
- /// Insert |page_obj| into |page|.
- /// page - handle to a page
- /// page_obj - handle to a page object. The |page_obj| will be automatically
- /// freed.
+ /// Insert |page_object| into |page|.
+ /// page - handle to a page
+ /// page_object - handle to a page object. The |page_object| will be
+ /// automatically freed.
///
- public static void FPDFPageInsertObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_obj)
+ public static void FPDFPageInsertObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_object)
{
var __arg0 = page is null ? __IntPtr.Zero : page.__Instance;
- var __arg1 = page_obj is null ? __IntPtr.Zero : page_obj.__Instance;
+ var __arg1 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
__Internal.FPDFPageInsertObject(__arg0, __arg1);
}
///
/// Experimental API.
- /// Remove |page_obj| from |page|.
- /// page - handle to a page
- /// page_obj - handle to a page object to be removed.
+ /// Remove |page_object| from |page|.
+ /// page - handle to a page
+ /// page_object - handle to a page object to be removed.
/// Returns TRUE on success.
/// Ownership is transferred to the caller. Call FPDFPageObj_Destroy() to free
/// it.
///
- public static int FPDFPageRemoveObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_obj)
+ public static int FPDFPageRemoveObject(global::PDFiumCore.FpdfPageT page, global::PDFiumCore.FpdfPageobjectT page_object)
{
var __arg0 = page is null ? __IntPtr.Zero : page.__Instance;
- var __arg1 = page_obj is null ? __IntPtr.Zero : page_obj.__Instance;
+ var __arg1 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
var __ret = __Internal.FPDFPageRemoveObject(__arg0, __arg1);
return __ret;
}
@@ -9749,16 +9749,16 @@ public static int FPDFPageGenerateContent(global::PDFiumCore.FpdfPageT page)
}
///
- /// Destroy |page_obj| by releasing its resources. |page_obj| must have been
- /// created by FPDFPageObj_CreateNew{Path|Rect}() or
+ /// Destroy |page_object| by releasing its resources. |page_object| must have
+ /// been created by FPDFPageObj_CreateNew{Path|Rect}() or
/// FPDFPageObj_New{Text|Image}Obj(). This function must be called on
/// newly-created objects if they are not added to a page through
/// FPDFPage_InsertObject() or to an annotation through FPDFAnnot_AppendObject().
- /// page_obj - handle to a page object.
+ /// page_object - handle to a page object.
///
- public static void FPDFPageObjDestroy(global::PDFiumCore.FpdfPageobjectT page_obj)
+ public static void FPDFPageObjDestroy(global::PDFiumCore.FpdfPageobjectT page_object)
{
- var __arg0 = page_obj is null ? __IntPtr.Zero : page_obj.__Instance;
+ var __arg0 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
__Internal.FPDFPageObjDestroy(__arg0);
}
@@ -9837,9 +9837,9 @@ public static int FPDFPageObjGetMatrix(global::PDFiumCore.FpdfPageobjectT page_o
/// and can be used to scale, rotate, shear and translate the page object.
/// Returns TRUE on success.
///
- public static int FPDFPageObjSetMatrix(global::PDFiumCore.FpdfPageobjectT path, global::PDFiumCore.FS_MATRIX_ matrix)
+ public static int FPDFPageObjSetMatrix(global::PDFiumCore.FpdfPageobjectT page_object, global::PDFiumCore.FS_MATRIX_ matrix)
{
- var __arg0 = path is null ? __IntPtr.Zero : path.__Instance;
+ var __arg0 = page_object is null ? __IntPtr.Zero : page_object.__Instance;
var __arg1 = matrix is null ? __IntPtr.Zero : matrix.__Instance;
var __ret = __Internal.FPDFPageObjSetMatrix(__arg0, __arg1);
return __ret;