 | PdfiumFPDFOBJ_SetString(IntPtr, String, Encoding) Method |
Insert an ANSI string into the PDF object
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFOBJ_SetString(
IntPtr obj_handle,
string str,
Encoding enc = null
)
Public Shared Sub FPDFOBJ_SetString (
obj_handle As IntPtr,
str As String,
Optional enc As Encoding = Nothing
)
public:
static void FPDFOBJ_SetString(
IntPtr obj_handle,
String^ str,
Encoding^ enc = nullptr
)
static member FPDFOBJ_SetString :
obj_handle : IntPtr *
str : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> unit
public static void FPDFOBJ_SetString(
IntPtr obj_handle,
String str,
Encoding enc = null
)
Patagames.Pdf.Pdfium.FPDFOBJ_SetString = function(obj_handle, str, enc);
Parameters
- obj_handle IntPtr
- Handle to the PDF object
- str String
- The text to be inserted into a object.
- enc Encoding (Optional)
- The encoding used to encode the str into an ANSI string. if Null DefaultAnsiEncoding is used.
See Also