Show / Hide Table of Contents

Class AnnotStyleDialogFragment

Inheritance
System.Object
BaseBottomDialogFragment
AnnotStyleDialogFragment
WatermarkDialog
Implements
AndroidX.ViewPager.Widget.ViewPager.IOnPageChangeListener
AnnotStyleView.IOnPresetSelectedListener
AnnotStyle.IAnnotStyleHolder
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Inherited Members
BaseBottomDialogFragment.ArgsKeyAnchor
BaseBottomDialogFragment.ArgsKeyAnchorScreen
BaseBottomDialogFragment.Dismiss(Boolean)
BaseBottomDialogFragment.SetOnDismissListener(IDialogInterfaceOnDismissListener)
BaseBottomDialogFragment.Show(FragmentManager)
BaseBottomDialogFragment.Show(FragmentManager, Int32, String)
BaseBottomDialogFragment.MAnchor
BaseBottomDialogFragment.MBottomSheet
BaseBottomDialogFragment.MDialogBehavior
BaseBottomDialogFragment.DialogWidth
BaseBottomDialogFragment.IsBottomSheet
Namespace: pdftron.PDF.Controls
Assembly: PDFViewCtrlTools.dll
Syntax
public class AnnotStyleDialogFragment : BaseBottomDialogFragment, AnnotStyleView.IOnPresetSelectedListener, AnnotStyle.IAnnotStyleHolder

Constructors

AnnotStyleDialogFragment()

Declaration
public AnnotStyleDialogFragment()

AnnotStyleDialogFragment(IntPtr, JniHandleOwnership)

Declaration
protected AnnotStyleDialogFragment(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type Name Description
System.IntPtr javaReference
Android.Runtime.JniHandleOwnership transfer

Fields

ArgsKeyAnnotStyle

Declaration
protected const string ArgsKeyAnnotStyle = "annotStyle"
Field Value
Type Description
System.String

ArgsKeyExtraAnnotStyles

Declaration
protected const string ArgsKeyExtraAnnotStyles = "extraAnnotStyle"
Field Value
Type Description
System.String

ArgsKeyFontListFromAsset

Declaration
protected const string ArgsKeyFontListFromAsset = "fontListFromAsset"
Field Value
Type Description
System.String

ArgsKeyFontListFromStorage

Declaration
protected const string ArgsKeyFontListFromStorage = "fontListFromStorage"
Field Value
Type Description
System.String

ArgsKeyGroupAnnotTypes

Declaration
protected const string ArgsKeyGroupAnnotTypes = "group_annot_styles"
Field Value
Type Description
System.String

ArgsKeyInitialTabIndex

Declaration
protected const string ArgsKeyInitialTabIndex = "initialTabIndex"
Field Value
Type Description
System.String

ArgsKeyMoreAnnotTypes

Declaration
protected const string ArgsKeyMoreAnnotTypes = "more_tools"
Field Value
Type Description
System.String

ArgsKeyMoreAnnotTypesTabIndex

Declaration
protected const string ArgsKeyMoreAnnotTypesTabIndex = "more_tools_tab_index"
Field Value
Type Description
System.String

ArgsKeyPressureSensitive

Declaration
protected const string ArgsKeyPressureSensitive = "show_pressure_sensitive_preview"
Field Value
Type Description
System.String

ArgsKeyShowPreset

Declaration
protected const string ArgsKeyShowPreset = "show_preset"
Field Value
Type Description
System.String

ArgsKeyShowPreview

Declaration
protected const string ArgsKeyShowPreview = "show_preview"
Field Value
Type Description
System.String

ArgsKeyTabTitles

Declaration
protected const string ArgsKeyTabTitles = "tabTitles"
Field Value
Type Description
System.String

ArgsKeyWhiteListFont

Declaration
protected const string ArgsKeyWhiteListFont = "whiteListFont"
Field Value
Type Description
System.String

BorderStyle

Declaration
public const int BorderStyle = 0
Field Value
Type Description
System.Int32

Color

Declaration
public const int Color = 3
Field Value
Type Description
System.Int32

FillColor

Declaration
public const int FillColor = 1
Field Value
Type Description
System.Int32

LineEndStyle

Declaration
public const int LineEndStyle = 3
Field Value
Type Description
System.Int32

LineStartStyle

Declaration
public const int LineStartStyle = 2
Field Value
Type Description
System.Int32

LineStyle

Declaration
public const int LineStyle = 1
Field Value
Type Description
System.Int32

StrokeColor

Declaration
public const int StrokeColor = 0
Field Value
Type Description
System.Int32

TextColor

Declaration
public const int TextColor = 2
Field Value
Type Description
System.Int32

Properties

AnnotPreview

Declaration
public virtual AnnotationPropertyPreviewView AnnotPreview { get; }
Property Value
Type Description
AnnotationPropertyPreviewView

AnnotPreviews

Declaration
public virtual SparseArray AnnotPreviews { get; }
Property Value
Type Description
Android.Util.SparseArray

AnnotStyle

Declaration
public virtual AnnotStyle AnnotStyle { get; set; }
Property Value
Type Description
AnnotStyle

AnnotStyles

Declaration
public virtual IList<AnnotStyle> AnnotStyles { get; }
Property Value
Type Description
System.Collections.Generic.IList<AnnotStyle>

ContentLayoutResource

Declaration
protected override int ContentLayoutResource { get; }
Property Value
Type Description
System.Int32
Overrides
BaseBottomDialogFragment.ContentLayoutResource

CurrentTabIndex

Declaration
public virtual int CurrentTabIndex { get; }
Property Value
Type Description
System.Int32

FragmentTag

Declaration
protected override string FragmentTag { get; }
Property Value
Type Description
System.String
Overrides
BaseBottomDialogFragment.FragmentTag

JniPeerMembers

Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type Description
Java.Interop.JniPeerMembers
Overrides
BaseBottomDialogFragment.JniPeerMembers

ThresholdClass

Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type Description
System.IntPtr
Overrides
BaseBottomDialogFragment.ThresholdClass

ThresholdType

Declaration
protected override Type ThresholdType { get; }
Property Value
Type Description
System.Type
Overrides
BaseBottomDialogFragment.ThresholdType

Methods

NewInstance()

Declaration
public static AnnotStyleDialogFragment NewInstance()
Returns
Type Description
AnnotStyleDialogFragment

OnAnnotStyleLayoutUpdated()

Declaration
public virtual void OnAnnotStyleLayoutUpdated()

OnCreateDialogImpl(Context)

Declaration
protected override Dialog OnCreateDialogImpl(Context context)
Parameters
Type Name Description
Android.Content.Context context
Returns
Type Description
Android.App.Dialog
Overrides
BaseBottomDialogFragment.OnCreateDialogImpl(Context)

OnPageScrolled(Int32, Single, Int32)

Declaration
public virtual void OnPageScrolled(int position, float positionOffset, int positionOffsetPixels)
Parameters
Type Name Description
System.Int32 position
System.Single positionOffset
System.Int32 positionOffsetPixels

OnPageScrollStateChanged(Int32)

Declaration
public virtual void OnPageScrollStateChanged(int state)
Parameters
Type Name Description
System.Int32 state

OnPageSelected(Int32)

Declaration
public virtual void OnPageSelected(int position)
Parameters
Type Name Description
System.Int32 position

OnPresetDeselected(AnnotStyle)

Declaration
public virtual void OnPresetDeselected(AnnotStyle presetStyle)
Parameters
Type Name Description
AnnotStyle presetStyle

OnPresetSelected(AnnotStyle)

Declaration
public virtual void OnPresetSelected(AnnotStyle presetStyle)
Parameters
Type Name Description
AnnotStyle presetStyle

SaveAnnotStyles()

Declaration
public virtual void SaveAnnotStyles()

SetAnnotPreviewVisibility(Int32)

Declaration
public virtual void SetAnnotPreviewVisibility(int visibility)
Parameters
Type Name Description
System.Int32 visibility

SetAnnotStyle(Int32, AnnotStyle)

Declaration
public virtual void SetAnnotStyle(int tabIndex, AnnotStyle annotStyle)
Parameters
Type Name Description
System.Int32 tabIndex
AnnotStyle annotStyle

SetAnnotStyleProperties(IDictionary<Integer, AnnotStyleProperty>)

Declaration
public virtual void SetAnnotStyleProperties(IDictionary<Integer, AnnotStyleProperty> annotStyleProperties)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<Java.Lang.Integer, AnnotStyleProperty> annotStyleProperties

SetCanShowPressureSwitch(Boolean)

Declaration
public virtual void SetCanShowPressureSwitch(bool canShow)
Parameters
Type Name Description
System.Boolean canShow

SetCanShowPressureSwitch(Int32, Boolean)

Declaration
public virtual void SetCanShowPressureSwitch(int tabIndex, bool canShow)
Parameters
Type Name Description
System.Int32 tabIndex
System.Boolean canShow

SetCanShowRichContentSwitch(Boolean)

Declaration
public virtual void SetCanShowRichContentSwitch(bool canShow)
Parameters
Type Name Description
System.Boolean canShow

SetCanShowRichContentSwitch(Int32, Boolean)

Declaration
public virtual void SetCanShowRichContentSwitch(int tabIndex, bool canShow)
Parameters
Type Name Description
System.Int32 tabIndex
System.Boolean canShow

SetCanShowTextAlignment(Boolean)

Declaration
public virtual void SetCanShowTextAlignment(bool canShowTextAlignment)
Parameters
Type Name Description
System.Boolean canShowTextAlignment

SetOnAnnotStyleChangeListener(AnnotStyle.IOnAnnotStyleChangeListener)

Declaration
public virtual void SetOnAnnotStyleChangeListener(AnnotStyle.IOnAnnotStyleChangeListener listener)
Parameters
Type Name Description
AnnotStyle.IOnAnnotStyleChangeListener listener

SetOnMoreAnnotTypesClickListener(AnnotStyleView.IOnMoreAnnotTypeClickedListener)

Declaration
public virtual void SetOnMoreAnnotTypesClickListener(AnnotStyleView.IOnMoreAnnotTypeClickedListener listener)
Parameters
Type Name Description
AnnotStyleView.IOnMoreAnnotTypeClickedListener listener

Events

ChangeAnnotBorderStyle

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotBorderStyleEventArgs> ChangeAnnotBorderStyle
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotBorderStyleEventArgs>

ChangeAnnotFillColor

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotFillColorEventArgs> ChangeAnnotFillColor
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotFillColorEventArgs>

ChangeAnnotFont

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotFontEventArgs> ChangeAnnotFont
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotFontEventArgs>

ChangeAnnotIcon

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotIconEventArgs> ChangeAnnotIcon
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotIconEventArgs>

ChangeAnnotLineEndStyle

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineEndStyleEventArgs> ChangeAnnotLineEndStyle
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotLineEndStyleEventArgs>

ChangeAnnotLineStartStyle

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineStartStyleEventArgs> ChangeAnnotLineStartStyle
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotLineStartStyleEventArgs>

ChangeAnnotLineStyle

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineStyleEventArgs> ChangeAnnotLineStyle
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotLineStyleEventArgs>

ChangeAnnotOpacity

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotOpacityEventArgs> ChangeAnnotOpacity
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotOpacityEventArgs>

ChangeAnnotStrokeColor

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotStrokeColorEventArgs> ChangeAnnotStrokeColor
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotStrokeColorEventArgs>

ChangeAnnotTextColor

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotTextColorEventArgs> ChangeAnnotTextColor
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotTextColorEventArgs>

ChangeAnnotTextSize

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotTextSizeEventArgs> ChangeAnnotTextSize
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotTextSizeEventArgs>

ChangeAnnotThickness

Declaration
public event EventHandler<AnnotStyle.ChangeAnnotThicknessEventArgs> ChangeAnnotThickness
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeAnnotThicknessEventArgs>

ChangeDateFormat

Declaration
public event EventHandler<AnnotStyle.ChangeDateFormatEventArgs> ChangeDateFormat
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeDateFormatEventArgs>

ChangeOverlayText

Declaration
public event EventHandler<AnnotStyle.ChangeOverlayTextEventArgs> ChangeOverlayText
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeOverlayTextEventArgs>

ChangeRichContentEnabled

Declaration
public event EventHandler<AnnotStyle.ChangeRichContentEnabledEventArgs> ChangeRichContentEnabled
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeRichContentEnabledEventArgs>

ChangeRulerProperty

Declaration
public event EventHandler<AnnotStyle.ChangeRulerPropertyEventArgs> ChangeRulerProperty
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeRulerPropertyEventArgs>

ChangeSnapping

Declaration
public event EventHandler<AnnotStyle.ChangeSnappingEventArgs> ChangeSnapping
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeSnappingEventArgs>

ChangeTextAlignment

Declaration
public event EventHandler<AnnotStyle.ChangeTextAlignmentEventArgs> ChangeTextAlignment
Event Type
Type Description
System.EventHandler<AnnotStyle.ChangeTextAlignmentEventArgs>

MoreAnnotTypesClick

Declaration
public event EventHandler<AnnotStyleView.MoreAnnotTypeClickedEventArgs> MoreAnnotTypesClick
Event Type
Type Description
System.EventHandler<AnnotStyleView.MoreAnnotTypeClickedEventArgs>

Implements

AndroidX.ViewPager.Widget.ViewPager.IOnPageChangeListener
AnnotStyleView.IOnPresetSelectedListener
AnnotStyle.IAnnotStyleHolder
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
In This Article
Back to top Generated by DocFX