Class AnnotStyle
Inheritance
System.Object
AnnotStyle
Assembly: PDFViewCtrlTools.dll
Syntax
public class AnnotStyle : Object
Constructors
AnnotStyle()
Declaration
AnnotStyle(AnnotStyle)
Declaration
public AnnotStyle(AnnotStyle other)
Parameters
AnnotStyle(IntPtr, JniHandleOwnership)
Declaration
protected AnnotStyle(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Fields
CustomAddPage
Declaration
public const int CustomAddPage = 1031
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeAreaMeasure
Declaration
public const int CustomAnnotTypeAreaMeasure = 1009
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeArrow
Declaration
public const int CustomAnnotTypeArrow = 1001
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeCallout
Declaration
public const int CustomAnnotTypeCallout = 1007
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeCheckboxField
Declaration
public const int CustomAnnotTypeCheckboxField = 1017
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeCheckmarkStamp
Declaration
public const int CustomAnnotTypeCheckmarkStamp = 1014
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeCloud
Declaration
public const int CustomAnnotTypeCloud = 1005
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeComboBox
Declaration
public const int CustomAnnotTypeComboBox = 1018
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeCountMeasurement
Declaration
public const int CustomAnnotTypeCountMeasurement = 1034
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeCrossStamp
Declaration
public const int CustomAnnotTypeCrossStamp = 1015
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeDotStamp
Declaration
public const int CustomAnnotTypeDotStamp = 1016
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeEraser
Declaration
public const int CustomAnnotTypeEraser = 1003
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeFreeHighlighter
Declaration
public const int CustomAnnotTypeFreeHighlighter = 1004
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeFreeTextDate
Declaration
public const int CustomAnnotTypeFreeTextDate = 1011
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeFreeTextSpacing
Declaration
public const int CustomAnnotTypeFreeTextSpacing = 1010
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeImageStamp
Declaration
public const int CustomAnnotTypeImageStamp = 1013
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeLassoMultiSelect
Declaration
public const int CustomAnnotTypeLassoMultiSelect = 1025
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeListBox
Declaration
public const int CustomAnnotTypeListBox = 1021
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypePan
Declaration
public const int CustomAnnotTypePan = 1023
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypePerimeterMeasure
Declaration
public const int CustomAnnotTypePerimeterMeasure = 1008
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int CustomAnnotTypeRadioButton = 1019
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeRectAreaMeasure
Declaration
public const int CustomAnnotTypeRectAreaMeasure = 1012
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeRectMultiSelect
Declaration
public const int CustomAnnotTypeRectMultiSelect = 1024
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeRuler
Declaration
public const int CustomAnnotTypeRuler = 1006
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeSignature
Declaration
public const int CustomAnnotTypeSignature = 1002
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeSignatureField
Declaration
public const int CustomAnnotTypeSignatureField = 1022
Field Value
Type |
Description |
System.Int32 |
|
CustomAnnotTypeTextField
Declaration
public const int CustomAnnotTypeTextField = 1020
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int CustomEditToolbar = 1028
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int CustomPageRedaction = 1032
Field Value
Type |
Description |
System.Int32 |
|
CustomRectRedaction
Declaration
public const int CustomRectRedaction = 1029
Field Value
Type |
Description |
System.Int32 |
|
CustomSearchRedaction
Declaration
public const int CustomSearchRedaction = 1033
Field Value
Type |
Description |
System.Int32 |
|
CustomSmartPen
Declaration
public const int CustomSmartPen = 1030
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int CustomToolRedo = 1027
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int CustomToolUndo = 1026
Field Value
Type |
Description |
System.Int32 |
|
KeyPdftronRuler
Declaration
public const string KeyPdftronRuler = "pdftronRuler"
Field Value
Type |
Description |
System.String |
|
KeyRulerBase
Declaration
public const string KeyRulerBase = "rulerBase"
Field Value
Type |
Description |
System.String |
|
KeyRulerBaseUnit
Declaration
public const string KeyRulerBaseUnit = "rulerBaseUnit"
Field Value
Type |
Description |
System.String |
|
KeyRulerTranslate
Declaration
public const string KeyRulerTranslate = "rulerTranslate"
Field Value
Type |
Description |
System.String |
|
KeyRulerTranslateUnit
Declaration
public const string KeyRulerTranslateUnit = "rulerTranslateUnit"
Field Value
Type |
Description |
System.String |
|
Properties
AnnotType
Declaration
public virtual int AnnotType { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
BorderEffectIntensity
Declaration
public virtual double BorderEffectIntensity { get; set; }
Property Value
Type |
Description |
System.Double |
|
BorderStyle
Declaration
public virtual ShapeBorderStyle BorderStyle { get; set; }
Property Value
Color
Declaration
public virtual int Color { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual string DateFormat { get; set; }
Property Value
Type |
Description |
System.String |
|
Enabled
Declaration
public virtual bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EraserType
Declaration
public virtual Eraser.EraserType EraserType { get; set; }
Property Value
FillColor
Declaration
public virtual int FillColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Font
Declaration
public virtual FontResource Font { get; set; }
Property Value
FontPath
Declaration
public virtual string FontPath { get; }
Property Value
Type |
Description |
System.String |
|
HasAppearance
Declaration
public virtual bool HasAppearance { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
HasBorderStyle
Declaration
public virtual bool HasBorderStyle { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasBorderStyleWithoutCloud
Declaration
public virtual bool HasBorderStyleWithoutCloud { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasColor
Declaration
public virtual bool HasColor { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasFillColor
Declaration
public virtual bool HasFillColor { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasFont
Declaration
public virtual bool HasFont { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasIcon
Declaration
public virtual bool HasIcon { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasLineEndStyle
Declaration
public virtual bool HasLineEndStyle { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasLineStartStyle
Declaration
public virtual bool HasLineStartStyle { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasLineStyle
Declaration
public virtual bool HasLineStyle { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasOpacity
Declaration
public virtual bool HasOpacity { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasPressureSensitivity
Declaration
public virtual bool HasPressureSensitivity { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasStampId
Declaration
public virtual bool HasStampId { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasTextAlignment
Declaration
public virtual bool HasTextAlignment { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasTextStyle
Declaration
public virtual bool HasTextStyle { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasThickness
Declaration
public virtual bool HasThickness { get; }
Property Value
Type |
Description |
System.Boolean |
|
HorizontalAlignment
Declaration
public virtual int HorizontalAlignment { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Icon
Declaration
public virtual string Icon { get; set; }
Property Value
Type |
Description |
System.String |
|
InkEraserMode
Declaration
public virtual Eraser.InkEraserMode InkEraserMode { get; set; }
Property Value
IsBasicFreeText
Declaration
public virtual bool IsBasicFreeText { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsCallout
Declaration
public virtual bool IsCallout { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsCountMeasurement
Declaration
public virtual bool IsCountMeasurement { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsDateFreeText
Declaration
public virtual bool IsDateFreeText { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsEraser
Declaration
public virtual bool IsEraser { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsFreeText
Declaration
public virtual bool IsFreeText { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsFreeTextGroup
Declaration
public virtual bool IsFreeTextGroup { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsLine
Declaration
public virtual bool IsLine { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsMeasurement
Declaration
public virtual bool IsMeasurement { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsRCFreeText
Declaration
public virtual bool IsRCFreeText { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsRedaction
Declaration
public virtual bool IsRedaction { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsRubberStamp
Declaration
public virtual bool IsRubberStamp { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsRuler
Declaration
public virtual bool IsRuler { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsSignature
Declaration
public virtual bool IsSignature { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsSound
Declaration
public virtual bool IsSound { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsSpacingFreeText
Declaration
public virtual bool IsSpacingFreeText { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsSquare
Declaration
public virtual bool IsSquare { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsStickyNote
Declaration
public virtual bool IsStickyNote { get; }
Property Value
Type |
Description |
System.Boolean |
|
IsWatermark
Declaration
public virtual bool IsWatermark { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual bool IsWidget { get; }
Property Value
Type |
Description |
System.Boolean |
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
LetterSpacing
Declaration
public virtual float LetterSpacing { get; set; }
Property Value
Type |
Description |
System.Single |
|
LineEndStyle
Declaration
public virtual LineEndingStyle LineEndStyle { get; set; }
Property Value
LineStartStyle
Declaration
public virtual LineEndingStyle LineStartStyle { get; set; }
Property Value
LineStyle
Declaration
public virtual LineStyle LineStyle { get; set; }
Property Value
MaxInternalThickness
Declaration
public virtual float MaxInternalThickness { get; }
Property Value
Type |
Description |
System.Single |
|
Opacity
Declaration
public virtual float Opacity { get; set; }
Property Value
Type |
Description |
System.Single |
|
OverlayText
Declaration
public virtual string OverlayText { get; set; }
Property Value
Type |
Description |
System.String |
|
PDFTronFontName
Declaration
public virtual string PDFTronFontName { get; }
Property Value
Type |
Description |
System.String |
|
Precision
Declaration
public virtual int Precision { get; }
Property Value
Type |
Description |
System.Int32 |
|
PressureSensitive
Declaration
public virtual bool PressureSensitive { get; }
Property Value
Type |
Description |
System.Boolean |
|
RulerBaseUnit
Declaration
public virtual string RulerBaseUnit { get; set; }
Property Value
Type |
Description |
System.String |
|
RulerBaseValue
Declaration
public virtual float RulerBaseValue { get; set; }
Property Value
Type |
Description |
System.Single |
|
RulerItem
Declaration
public virtual RulerItem RulerItem { get; set; }
Property Value
RulerTranslateUnit
Declaration
public virtual string RulerTranslateUnit { get; set; }
Property Value
Type |
Description |
System.String |
|
RulerTranslateValue
Declaration
public virtual float RulerTranslateValue { get; set; }
Property Value
Type |
Description |
System.Single |
|
Snap
Declaration
public virtual bool Snap { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
StampId
Declaration
public virtual string StampId { get; set; }
Property Value
Type |
Description |
System.String |
|
TextColor
Declaration
public virtual int TextColor { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
TextContent
Declaration
public virtual string TextContent { get; set; }
Property Value
Type |
Description |
System.String |
|
TextHTMLContent
Declaration
public virtual string TextHTMLContent { get; set; }
Property Value
Type |
Description |
System.String |
|
TextSize
Declaration
public virtual float TextSize { get; set; }
Property Value
Type |
Description |
System.Single |
|
Thickness
Declaration
public virtual float Thickness { get; set; }
Property Value
Type |
Description |
System.Single |
|
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 |
|
VerticalAlignment
Declaration
public virtual int VerticalAlignment { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
DisableUpdateListener(Boolean)
Declaration
public virtual void DisableUpdateListener(bool disable)
Parameters
Type |
Name |
Description |
System.Boolean |
disable |
|
GetIconDrawable(Context)
Declaration
public virtual Drawable GetIconDrawable(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
Android.Graphics.Drawables.Drawable |
|
GetIconDrawable(Context, String, Int32, Single)
Declaration
public static Drawable GetIconDrawable(Context context, string icon, int color, float opacity)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
icon |
|
System.Int32 |
color |
|
System.Single |
opacity |
|
Returns
Type |
Description |
Android.Graphics.Drawables.Drawable |
|
GetIconDrawable(Context, String, String, Int32, Single)
Declaration
public static Drawable GetIconDrawable(Context context, string iconOutline, string iconFill, int color, float opacity)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
iconOutline |
|
System.String |
iconFill |
|
System.Int32 |
color |
|
System.Single |
opacity |
|
Returns
Type |
Description |
Android.Graphics.Drawables.Drawable |
|
InvokeIsFreeTextGroup(Int32)
Declaration
public static bool InvokeIsFreeTextGroup(int annotType)
Parameters
Type |
Name |
Description |
System.Int32 |
annotType |
|
Returns
Type |
Description |
System.Boolean |
|
LoadJSONString(Context, String, Int32)
Declaration
public static AnnotStyle LoadJSONString(Context context, string jsonStr, int annotType)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
jsonStr |
|
System.Int32 |
annotType |
|
Returns
LoadJSONString(String)
Declaration
public static AnnotStyle LoadJSONString(string jsonStr)
Parameters
Type |
Name |
Description |
System.String |
jsonStr |
|
Returns
SetAnnotAppearanceChangeListener(AnnotStyle.IOnAnnotStyleChangeListener)
Declaration
public virtual void SetAnnotAppearanceChangeListener(AnnotStyle.IOnAnnotStyleChangeListener listener)
Parameters
SetOpacity(Single, Boolean)
Declaration
public virtual void SetOpacity(float opacity, bool done)
Parameters
Type |
Name |
Description |
System.Single |
opacity |
|
System.Boolean |
done |
|
SetPressureSensitivity(Boolean)
Declaration
public virtual void SetPressureSensitivity(bool hasPressure)
Parameters
Type |
Name |
Description |
System.Boolean |
hasPressure |
|
SetRulerPrecision(Int32)
Declaration
public virtual void SetRulerPrecision(int precision)
Parameters
Type |
Name |
Description |
System.Int32 |
precision |
|
SetStrokeColor(Int32)
Declaration
public virtual void SetStrokeColor(int strokeColor)
Parameters
Type |
Name |
Description |
System.Int32 |
strokeColor |
|
SetStyle(AnnotStyle)
Declaration
public virtual void SetStyle(AnnotStyle other)
Parameters
SetStyle(Int32, Int32, Single, Single)
Declaration
public virtual void SetStyle(int strokeColor, int fillColor, float thickness, float opacity)
Parameters
Type |
Name |
Description |
System.Int32 |
strokeColor |
|
System.Int32 |
fillColor |
|
System.Single |
thickness |
|
System.Single |
opacity |
|
SetTextSize(Single, Boolean)
Declaration
public virtual void SetTextSize(float textSize, bool done)
Parameters
Type |
Name |
Description |
System.Single |
textSize |
|
System.Boolean |
done |
|
SetThickness(Single, Boolean)
Declaration
public virtual void SetThickness(float thickness, bool done)
Parameters
Type |
Name |
Description |
System.Single |
thickness |
|
System.Boolean |
done |
|
ToJSONString()
Declaration
public virtual string ToJSONString()
Returns
Type |
Description |
System.String |
|
UpdateAllListeners()
Declaration
public virtual void UpdateAllListeners()
UpdateBorderStyleListener(ShapeBorderStyle, Boolean)
Declaration
public virtual void UpdateBorderStyleListener(ShapeBorderStyle borderStyle, bool update)
Parameters
UpdateLineEndStyleListener(LineEndingStyle, Boolean)
Declaration
public virtual void UpdateLineEndStyleListener(LineEndingStyle lineEndStyle, bool update)
Parameters
UpdateLineStartStyleListener(LineEndingStyle, Boolean)
Declaration
public virtual void UpdateLineStartStyleListener(LineEndingStyle lineStartStyle, bool update)
Parameters
UpdateLineStyleListener(LineStyle, Boolean)
Declaration
public virtual void UpdateLineStyleListener(LineStyle lineStyle, bool update)
Parameters
Type |
Name |
Description |
LineStyle |
lineStyle |
|
System.Boolean |
update |
|
UpdateTextAlignment(Int32, Int32, Boolean)
Declaration
public virtual void UpdateTextAlignment(int horizontalAlignment, int verticalAlignment, bool update)
Parameters
Type |
Name |
Description |
System.Int32 |
horizontalAlignment |
|
System.Int32 |
verticalAlignment |
|
System.Boolean |
update |
|
UpdateTextSizeListener(Single, Boolean, Boolean)
Declaration
public virtual void UpdateTextSizeListener(float textSize, bool update, bool done)
Parameters
Type |
Name |
Description |
System.Single |
textSize |
|
System.Boolean |
update |
|
System.Boolean |
done |
|
UpdateThicknessListener(Single, Boolean, Boolean)
Declaration
public virtual void UpdateThicknessListener(float thickness, bool update, bool done)
Parameters
Type |
Name |
Description |
System.Single |
thickness |
|
System.Boolean |
update |
|
System.Boolean |
done |
|
Events
ChangeAnnotBorderStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotBorderStyleEventArgs> ChangeAnnotBorderStyle
Event Type
ChangeAnnotFillColor
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotFillColorEventArgs> ChangeAnnotFillColor
Event Type
ChangeAnnotFont
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotFontEventArgs> ChangeAnnotFont
Event Type
ChangeAnnotIcon
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotIconEventArgs> ChangeAnnotIcon
Event Type
ChangeAnnotLineEndStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineEndStyleEventArgs> ChangeAnnotLineEndStyle
Event Type
ChangeAnnotLineStartStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineStartStyleEventArgs> ChangeAnnotLineStartStyle
Event Type
ChangeAnnotLineStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineStyleEventArgs> ChangeAnnotLineStyle
Event Type
ChangeAnnotOpacity
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotOpacityEventArgs> ChangeAnnotOpacity
Event Type
ChangeAnnotStrokeColor
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotStrokeColorEventArgs> ChangeAnnotStrokeColor
Event Type
ChangeAnnotTextColor
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotTextColorEventArgs> ChangeAnnotTextColor
Event Type
ChangeAnnotTextSize
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotTextSizeEventArgs> ChangeAnnotTextSize
Event Type
ChangeAnnotThickness
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotThicknessEventArgs> ChangeAnnotThickness
Event Type
Declaration
public event EventHandler<AnnotStyle.ChangeDateFormatEventArgs> ChangeDateFormat
Event Type
ChangeOverlayText
Declaration
public event EventHandler<AnnotStyle.ChangeOverlayTextEventArgs> ChangeOverlayText
Event Type
ChangeRichContentEnabled
Declaration
public event EventHandler<AnnotStyle.ChangeRichContentEnabledEventArgs> ChangeRichContentEnabled
Event Type
ChangeRulerProperty
Declaration
public event EventHandler<AnnotStyle.ChangeRulerPropertyEventArgs> ChangeRulerProperty
Event Type
ChangeSnapping
Declaration
public event EventHandler<AnnotStyle.ChangeSnappingEventArgs> ChangeSnapping
Event Type
ChangeTextAlignment
Declaration
public event EventHandler<AnnotStyle.ChangeTextAlignmentEventArgs> ChangeTextAlignment
Event Type