 | PdfiumFPDFTextObj_SetText Method |
Stores an ANSI string on the text object.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static void FPDFTextObj_SetText(
IntPtr textObject,
string text,
Encoding enc = null
)
Public Shared Sub FPDFTextObj_SetText (
textObject As IntPtr,
text As String,
Optional enc As Encoding = Nothing
)
public:
static void FPDFTextObj_SetText(
IntPtr textObject,
String^ text,
Encoding^ enc = nullptr
)
static member FPDFTextObj_SetText :
textObject : IntPtr *
text : string *
?enc : Encoding
(* Defaults:
let _enc = defaultArg enc null
*)
-> unit
public static void FPDFTextObj_SetText(
IntPtr textObject,
String text,
Encoding enc = null
)
Patagames.Pdf.Pdfium.FPDFTextObj_SetText = function(textObject, text, enc);
Parameters
- textObject IntPtr
- A handle to the text object.
- text String
- The string to be set in the text object.
- enc Encoding (Optional)
- The encoding used to encode the text into an ANSI string. if Null DefaultAnsiEncoding is used.
See Also