Class CustomStampOption
Inheritance
System.Object
CustomStampOption
Assembly: PDFViewCtrlTools.dll
Syntax
public class CustomStampOption : Object
Constructors
CustomStampOption(JSONObject)
Declaration
protected CustomStampOption(JSONObject jsonObject)
Parameters
Type |
Name |
Description |
Org.Json.JSONObject |
jsonObject |
|
CustomStampOption(CustomStampOption)
Declaration
public CustomStampOption(CustomStampOption another)
Parameters
CustomStampOption(IntPtr, JniHandleOwnership)
Declaration
protected CustomStampOption(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
CustomStampOption(String, String, Int32, Int32, Int32, Int32, Double, Boolean, Boolean)
Declaration
public CustomStampOption(string text, string secondText, int bgColorStart, int bgColorEnd, int textColor, int borderColor, double fillOpacity, bool isPointingLeft, bool isPointingRight)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.String |
secondText |
|
System.Int32 |
bgColorStart |
|
System.Int32 |
bgColorEnd |
|
System.Int32 |
textColor |
|
System.Int32 |
borderColor |
|
System.Double |
fillOpacity |
|
System.Boolean |
isPointingLeft |
|
System.Boolean |
isPointingRight |
|
Fields
KeyIndex
Declaration
public const string KeyIndex = "index"
Field Value
Type |
Description |
System.String |
|
Properties
BgColorEnd
Declaration
public int BgColorEnd { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
BgColorStart
Declaration
public int BgColorStart { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
BorderColor
Declaration
public int BorderColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
FillOpacity
Declaration
public double FillOpacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
HasDateStamp
Declaration
public virtual bool HasDateStamp { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasTimeStamp
Declaration
public virtual bool HasTimeStamp { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsPointingLeft
Declaration
public bool IsPointingLeft { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsPointingRight
Declaration
public bool IsPointingRight { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
SecondText
Declaration
public string SecondText { get; set; }
Property Value
Type |
Description |
System.String |
|
Text
Declaration
public string Text { get; set; }
Property Value
Type |
Description |
System.String |
|
TextColor
Declaration
public int TextColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
AddCustomStamp(Context, CustomStampOption, Bitmap)
Declaration
public static void AddCustomStamp(Context context, CustomStampOption customStampOption, Bitmap bitmap)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
CustomStampOption |
customStampOption |
|
Android.Graphics.Bitmap |
bitmap |
|
CreateSecondText(Boolean, Boolean)
Declaration
public static string CreateSecondText(bool hasDate, bool hasTime)
Parameters
Type |
Name |
Description |
System.Boolean |
hasDate |
|
System.Boolean |
hasTime |
|
Returns
Type |
Description |
System.String |
|
DuplicateCustomStamp(Context, Int32)
Declaration
public static void DuplicateCustomStamp(Context context, int index)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
index |
|
GetCustomStampBitmap(Context, Int32)
Declaration
public static Bitmap GetCustomStampBitmap(Context context, int index)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
index |
|
Returns
Type |
Description |
Android.Graphics.Bitmap |
|
GetCustomStampBitmapPath(Context, Int32)
Declaration
public static string GetCustomStampBitmapPath(Context context, int index)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
index |
|
Returns
Type |
Description |
System.String |
|
GetCustomStampsCount(Context)
Declaration
public static int GetCustomStampsCount(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.Int32 |
|
GetCustomStampsInfo(Context)
Declaration
public static string GetCustomStampsInfo(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.String |
|
MoveCustomStamp(Context, Int32, Int32)
Declaration
public static void MoveCustomStamp(Context context, int fromPosition, int toPosition)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
fromPosition |
|
System.Int32 |
toPosition |
|
RemoveAllCustomStamps(Context)
Declaration
public static void RemoveAllCustomStamps(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
RemoveCustomStamp(Context, Int32)
Declaration
public static void RemoveCustomStamp(Context context, int index)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
index |
|
RemoveCustomStamps(Context, IList<Integer>)
Declaration
public static void RemoveCustomStamps(Context context, IList<Integer> indexes)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Collections.Generic.IList<Java.Lang.Integer> |
indexes |
|
UpdateCustomStamp(Context, Int32, CustomStampOption, Bitmap)
Declaration
public static void UpdateCustomStamp(Context context, int index, CustomStampOption customStampOption, Bitmap bitmap)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
index |
|
CustomStampOption |
customStampOption |
|
Android.Graphics.Bitmap |
bitmap |
|
UpdateDateTime()
Declaration
public virtual void UpdateDateTime()