Class PdfRenderer
- Namespace
- IO.Scanbot.Pdf
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/pdf/PdfRenderer", DoNotGenerateAcw = true)]
public sealed class PdfRenderer : SelfDisposable, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
PdfRenderer
- Implements
-
- Inherited Members
-
Constructors
PdfRenderer()
[Register(".ctor", "()V", "")]
public PdfRenderer()
Methods
AddPage(byte[], int, int, int)
[Register("addPage", "([BIII)V", "")]
public void AddPage(byte[] nv21, int width, int height, int orientation)
Parameters
nv21
byte[]
width
int
height
int
orientation
int
AddPageBitmap(Bitmap, int)
[Register("addPageBitmap", "(Landroid/graphics/Bitmap;I)V", "")]
public void AddPageBitmap(Bitmap bitmap, int orientation)
Parameters
bitmap
Bitmap
orientation
int
AddPageImagePath(string)
[Register("addPageImagePath", "(Ljava/lang/String;)V", "")]
public void AddPageImagePath(string imagePath)
Parameters
imagePath
string
AddPageJPEG(byte[], int)
[Register("addPageJPEG", "([BI)V", "")]
public void AddPageJPEG(byte[] jpeg, int orientation)
Parameters
jpeg
byte[]
orientation
int
BeginRender(Stream, PdfConfig)
[Register("beginRender", "(Ljava/io/OutputStream;Lio/scanbot/pdf/model/PdfConfig;)V", "")]
public void BeginRender(Stream stream, PdfConfig pdfConfig)
Parameters
stream
Stream
pdfConfig
PdfConfig
BeginRenderToFilePath(PdfConfig)
[Register("beginRenderToFilePath", "(Lio/scanbot/pdf/model/PdfConfig;)V", "")]
public void BeginRenderToFilePath(PdfConfig pdfConfig)
Parameters
pdfConfig
PdfConfig
BeginRenderToFilePath(string, PdfConfig)
[Register("beginRenderToFilePath", "(Ljava/lang/String;Lio/scanbot/pdf/model/PdfConfig;)V", "")]
public void BeginRenderToFilePath(string pdfFilePath, PdfConfig pdfConfig)
Parameters
pdfFilePath
string
pdfConfig
PdfConfig
Ctor()
[Register("ctor", "()J", "")]
public override long Ctor()
Returns
- long
Dtor(long)
[Register("dtor", "(J)V", "")]
public override void Dtor(long nativeImplPtr)
Parameters
nativeImplPtr
long
EndRender()
[Register("endRender", "()[B", "")]
public byte[] EndRender()
Returns
- byte[]