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
attributesPdfAttributespageSizePageSizepageDirectionPageDirectionpageFitPageFitdpiintjpegQualityintresamplingMethodResamplingMethodbinarizationFilterParametricFilter
PdfConfiguration(JSONObject)
[Register(".ctor", "(Lorg/json/JSONObject;)V", "")]
public PdfConfiguration(JSONObject json)
Parameters
jsonJSONObject
PdfConfiguration(IDictionary<string, Object>)
[Register(".ctor", "(Ljava/util/Map;)V", "")]
public PdfConfiguration(IDictionary<string, Object> source)
Parameters
sourceIDictionary<string, Object>
Properties
Attributes
public PdfAttributes Attributes { get; set; }
Property Value
BinarizationFilter
public ParametricFilter BinarizationFilter { get; set; }
Property Value
Creator
[Register("CREATOR")]
public static IParcelableCreator Creator { get; }
Property Value
Dpi
public int Dpi { get; set; }
Property Value
JpegQuality
public int JpegQuality { get; set; }
Property Value
PageDirection
public PageDirection PageDirection { get; set; }
Property Value
PageFit
public PageFit PageFit { get; set; }
Property Value
PageSize
public PageSize PageSize { get; set; }
Property Value
ResamplingMethod
public ResamplingMethod ResamplingMethod { get; set; }
Property Value
Methods
Component1()
[Register("component1", "()Lio/scanbot/sdk/pdfgeneration/PdfAttributes;", "")]
public PdfAttributes Component1()
Returns
Component2()
[Register("component2", "()Lio/scanbot/sdk/pdfgeneration/PageSize;", "")]
public PageSize Component2()
Returns
Component3()
[Register("component3", "()Lio/scanbot/sdk/pdfgeneration/PageDirection;", "")]
public PageDirection Component3()
Returns
Component4()
[Register("component4", "()Lio/scanbot/sdk/pdfgeneration/PageFit;", "")]
public PageFit Component4()
Returns
Component5()
[Register("component5", "()I", "")]
public int Component5()
Returns
Component6()
[Register("component6", "()I", "")]
public int Component6()
Returns
Component7()
[Register("component7", "()Lio/scanbot/sdk/pdfgeneration/ResamplingMethod;", "")]
public ResamplingMethod Component7()
Returns
Component8()
[Register("component8", "()Lio/scanbot/sdk/imageprocessing/ParametricFilter;", "")]
public ParametricFilter Component8()
Returns
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
attributesPdfAttributespageSizePageSizepageDirectionPageDirectionpageFitPageFitdpiintjpegQualityintresamplingMethodResamplingMethodbinarizationFilterParametricFilter
Returns
Default()
[Register("default", "()Lio/scanbot/sdk/pdfgeneration/PdfConfiguration;", "")]
public static PdfConfiguration Default()
Returns
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.
.
android.os.Parcelable.describeContents()
Portions of this page are modifications based on work created and shared by the
ToJson(ToJsonConfiguration)
[Register("toJson", "(Lio/scanbot/sdk/common/ToJsonConfiguration;)Lorg/json/JSONObject;", "")]
public JSONObject ToJson(ToJsonConfiguration config)
Parameters
configToJsonConfiguration
Returns
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
destParcelThe Parcel in which the object should be written.
flagsParcelableWriteFlagsAdditional flags about how the object should be written. May be 0 or
#PARCELABLE_WRITE_RETURN_VALUE.
Remarks
Flatten this object in to a Parcel.
.
android.os.Parcelable.writeToParcel(android.os.Parcel, int)
Portions of this page are modifications based on work created and shared by the