Table of Contents

Class PdfConfig

Namespace
IO.Scanbot.Pdf.Model
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/pdf/model/PdfConfig", DoNotGenerateAcw = true)]
public sealed class PdfConfig : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
PdfConfig
Implements
Inherited Members

Constructors

PdfConfig(PdfAttributes, PageSize, PageDirection, PageFit, int, int, bool)

[Register(".ctor", "(Lio/scanbot/pdf/model/PdfAttributes;Lio/scanbot/pdf/model/PageSize;Lio/scanbot/pdf/model/PageDirection;Lio/scanbot/pdf/model/PageFit;IIZ)V", "")]
public PdfConfig(PdfAttributes pdfAttributes, PageSize pageSize, PageDirection pageDirection, PageFit pageFit, int dpi, int jpegQuality, bool resample)

Parameters

pdfAttributes PdfAttributes
pageSize PageSize
pageDirection PageDirection
pageFit PageFit
dpi int
jpegQuality int
resample bool

Fields

DefaultJpegQuality

[Register("DEFAULT_JPEG_QUALITY")]
public const int DefaultJpegQuality = 80

Field Value

int

DefaultPdfDpi

[Register("DEFAULT_PDF_DPI")]
public const int DefaultPdfDpi = 72

Field Value

int

Properties

Creator

[Register("CREATOR")]
public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Dpi

public int Dpi { get; }

Property Value

int

JpegQuality

public int JpegQuality { get; }

Property Value

int

PageDirection

public PageDirection PageDirection { get; }

Property Value

PageDirection

PageFit

public PageFit PageFit { get; }

Property Value

PageFit

PageSize

public PageSize PageSize { get; }

Property Value

PageSize

PdfAttributes

public PdfAttributes PdfAttributes { get; }

Property Value

PdfAttributes

Resample

public bool Resample { get; }

Property Value

bool

Methods

Component1()

[Register("component1", "()Lio/scanbot/pdf/model/PdfAttributes;", "")]
public PdfAttributes Component1()

Returns

PdfAttributes

Component2()

[Register("component2", "()Lio/scanbot/pdf/model/PageSize;", "")]
public PageSize Component2()

Returns

PageSize

Component3()

[Register("component3", "()Lio/scanbot/pdf/model/PageDirection;", "")]
public PageDirection Component3()

Returns

PageDirection

Component4()

[Register("component4", "()Lio/scanbot/pdf/model/PageFit;", "")]
public PageFit Component4()

Returns

PageFit

Component5()

[Register("component5", "()I", "")]
public int Component5()

Returns

int

Component6()

[Register("component6", "()I", "")]
public int Component6()

Returns

int

Component7()

[Register("component7", "()Z", "")]
public bool Component7()

Returns

bool

Copy(PdfAttributes, PageSize, PageDirection, PageFit, int, int, bool)

[Register("copy", "(Lio/scanbot/pdf/model/PdfAttributes;Lio/scanbot/pdf/model/PageSize;Lio/scanbot/pdf/model/PageDirection;Lio/scanbot/pdf/model/PageFit;IIZ)Lio/scanbot/pdf/model/PdfConfig;", "")]
public PdfConfig Copy(PdfAttributes pdfAttributes, PageSize pageSize, PageDirection pageDirection, PageFit pageFit, int dpi, int jpegQuality, bool resample)

Parameters

pdfAttributes PdfAttributes
pageSize PageSize
pageDirection PageDirection
pageFit PageFit
dpi int
jpegQuality int
resample bool

Returns

PdfConfig

DefaultConfig()

[Register("defaultConfig", "()Lio/scanbot/pdf/model/PdfConfig;", "")]
public static PdfConfig DefaultConfig()

Returns

PdfConfig

DescribeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

[Register("describeContents", "()I", "")]
public int DescribeContents()

Returns

int

a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

Remarks

Java documentation for

android.os.Parcelable.describeContents()
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

[Register("writeToParcel", "(Landroid/os/Parcel;I)V", "")]
public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags

Additional flags about how the object should be written. May be 0 or #PARCELABLE_WRITE_RETURN_VALUE.

Remarks

Java documentation for

android.os.Parcelable.writeToParcel(android.os.Parcel, int)
.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.