Table of Contents

Class PdfConfiguration

Namespace
IO.Scanbot.Sdk.Pdfgeneration
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/pdfgeneration/PdfConfiguration", DoNotGenerateAcw = true)]
public sealed class PdfConfiguration : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
PdfConfiguration
Implements
Inherited Members

Constructors

PdfConfiguration()

[Register(".ctor", "()V", "")]
public PdfConfiguration()

PdfConfiguration(PdfAttributes, PageSize, PageDirection, PageFit, int, int, ResamplingMethod, ParametricFilter)

[Register(".ctor", "(Lio/scanbot/sdk/pdfgeneration/PdfAttributes;Lio/scanbot/sdk/pdfgeneration/PageSize;Lio/scanbot/sdk/pdfgeneration/PageDirection;Lio/scanbot/sdk/pdfgeneration/PageFit;IILio/scanbot/sdk/pdfgeneration/ResamplingMethod;Lio/scanbot/sdk/imageprocessing/ParametricFilter;)V", "")]
public PdfConfiguration(PdfAttributes attributes, PageSize pageSize, PageDirection pageDirection, PageFit pageFit, int dpi, int jpegQuality, ResamplingMethod resamplingMethod, ParametricFilter binarizationFilter)

Parameters

attributes PdfAttributes
pageSize PageSize
pageDirection PageDirection
pageFit PageFit
dpi int
jpegQuality int
resamplingMethod ResamplingMethod
binarizationFilter ParametricFilter

PdfConfiguration(JSONObject)

[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public PdfConfiguration(JSONObject json)

Parameters

json JSONObject

PdfConfiguration(IDictionary<string, Object>)

[Register(".ctor", "(Ljava/util/Map;)V", "")]
public PdfConfiguration(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Properties

Attributes

public PdfAttributes Attributes { get; set; }

Property Value

PdfAttributes

BinarizationFilter

public ParametricFilter BinarizationFilter { get; set; }

Property Value

ParametricFilter

Creator

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

Property Value

IParcelableCreator

Dpi

public int Dpi { get; set; }

Property Value

int

JpegQuality

public int JpegQuality { get; set; }

Property Value

int

PageDirection

public PageDirection PageDirection { get; set; }

Property Value

PageDirection

PageFit

public PageFit PageFit { get; set; }

Property Value

PageFit

PageSize

public PageSize PageSize { get; set; }

Property Value

PageSize

ResamplingMethod

public ResamplingMethod ResamplingMethod { get; set; }

Property Value

ResamplingMethod

Methods

Component1()

[Register("component1", "()Lio/scanbot/sdk/pdfgeneration/PdfAttributes;", "")]
public PdfAttributes Component1()

Returns

PdfAttributes

Component2()

[Register("component2", "()Lio/scanbot/sdk/pdfgeneration/PageSize;", "")]
public PageSize Component2()

Returns

PageSize

Component3()

[Register("component3", "()Lio/scanbot/sdk/pdfgeneration/PageDirection;", "")]
public PageDirection Component3()

Returns

PageDirection

Component4()

[Register("component4", "()Lio/scanbot/sdk/pdfgeneration/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", "()Lio/scanbot/sdk/pdfgeneration/ResamplingMethod;", "")]
public ResamplingMethod Component7()

Returns

ResamplingMethod

Component8()

[Register("component8", "()Lio/scanbot/sdk/imageprocessing/ParametricFilter;", "")]
public ParametricFilter Component8()

Returns

ParametricFilter

Copy(PdfAttributes, PageSize, PageDirection, PageFit, int, int, ResamplingMethod, ParametricFilter)

[Register("copy", "(Lio/scanbot/sdk/pdfgeneration/PdfAttributes;Lio/scanbot/sdk/pdfgeneration/PageSize;Lio/scanbot/sdk/pdfgeneration/PageDirection;Lio/scanbot/sdk/pdfgeneration/PageFit;IILio/scanbot/sdk/pdfgeneration/ResamplingMethod;Lio/scanbot/sdk/imageprocessing/ParametricFilter;)Lio/scanbot/sdk/pdfgeneration/PdfConfiguration;", "")]
public PdfConfiguration Copy(PdfAttributes attributes, PageSize pageSize, PageDirection pageDirection, PageFit pageFit, int dpi, int jpegQuality, ResamplingMethod resamplingMethod, ParametricFilter binarizationFilter)

Parameters

attributes PdfAttributes
pageSize PageSize
pageDirection PageDirection
pageFit PageFit
dpi int
jpegQuality int
resamplingMethod ResamplingMethod
binarizationFilter ParametricFilter

Returns

PdfConfiguration

Default()

[Register("default", "()Lio/scanbot/sdk/pdfgeneration/PdfConfiguration;", "")]
public static PdfConfiguration Default()

Returns

PdfConfiguration

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

<p>Describe the kinds of special objects contained in this Parcelable

instance's marshaled representation. For example, if the object will include a file descriptor in the output of #writeToParcel(Parcel, int), the return value of this method must include the #CONTENTS_FILE_DESCRIPTOR bit.

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.

ToJson(ToJsonConfiguration)

[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

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

Parameters

dest Parcel

The Parcel in which the object should be written.

flags ParcelableWriteFlags

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

Remarks

Flatten this object in to a Parcel.

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.