Show / Hide Table of Contents

Class RefreshOptions

Inheritance
System.Object
OptionsBase
RefreshOptions
Inherited Members
OptionsBase.mObjSet
OptionsBase.ColorPtToNumber(ColorPt)
OptionsBase.ColorPtFromNumber(Double)
OptionsBase.GetArray(String)
OptionsBase.PutNumber(String, Double)
OptionsBase.PutBool(String, Boolean)
OptionsBase.PutText(String, String)
OptionsBase.PutRect(String, Rect)
OptionsBase.PushBackNumber(String, Double)
OptionsBase.PushBackBool(String, Boolean)
OptionsBase.PushBackText(String, String)
OptionsBase.PushBackRect(String, Rect)
OptionsBase.RectFromArray(Obj)
OptionsBase.insertRectCollection(String, RectCollection, Int32)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: pdftron.PDF
Assembly: PDFNet.dll
Syntax
public class RefreshOptions : OptionsBase

Constructors

RefreshOptions()

Constructor.

Declaration
public RefreshOptions()

Methods

GetDrawBackgroundOnly()

Gets the value DrawBackgroundOnly from the options object If true draw only the background and border, which can be useful when generating the rest of the annotation content elsewhere. Off by default.

Declaration
public bool GetDrawBackgroundOnly()
Returns
Type Description
System.Boolean

the current value for DrawBackgroundOnly.

GetRefreshExisting()

Gets the value RefreshExisting from the options object Whether we should refresh annotations with existing appearances. Defaults to false when used in PDFDoc.RefreshAnnotAppearances and true when used in Annot.RefreshAppearance.

Declaration
public bool GetRefreshExisting()
Returns
Type Description
System.Boolean

the current value for RefreshExisting.

GetUseNonStandardRotation()

Gets the value UseNonStandardRotation from the options object Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

Declaration
public bool GetUseNonStandardRotation()
Returns
Type Description
System.Boolean

the current value for UseNonStandardRotation.

GetUseRoundedCorners()

Gets the value UseRoundedCorners from the options object Whether we should use the corner radii specified in Annot.BorderStyle. Off by default.

Declaration
public bool GetUseRoundedCorners()
Returns
Type Description
System.Boolean

the current value for UseRoundedCorners.

SetDrawBackgroundOnly(Boolean)

Sets the value for DrawBackgroundOnly in the options object If true draw only the background and border, which can be useful when generating the rest of the annotation content elsewhere. Off by default.

Declaration
public RefreshOptions SetDrawBackgroundOnly(bool value)
Parameters
Type Name Description
System.Boolean value

the new value for DrawBackgroundOnly.

Returns
Type Description
RefreshOptions

SetRefreshExisting(Boolean)

Sets the value for RefreshExisting in the options object Whether we should refresh annotations with existing appearances. Defaults to false when used in PDFDoc.RefreshAnnotAppearances and true when used in Annot.RefreshAppearance.

Declaration
public RefreshOptions SetRefreshExisting(bool value)
Parameters
Type Name Description
System.Boolean value

value the new value for RefreshExisting.

Returns
Type Description
RefreshOptions

SetUseNonStandardRotation(Boolean)

Sets the value for UseNonStandardRotation in the options object Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

Declaration
public RefreshOptions SetUseNonStandardRotation(bool value)
Parameters
Type Name Description
System.Boolean value

value the new value for UseNonStandardRotation.

Returns
Type Description
RefreshOptions

SetUseRoundedCorners(Boolean)

Sets the value for UseRoundedCorners in the options object Whether we should use the corner radii specified in Annot.BorderStyle. Off by default.

Declaration
public RefreshOptions SetUseRoundedCorners(bool value)
Parameters
Type Name Description
System.Boolean value

value the new value for UseRoundedCorners.

Returns
Type Description
RefreshOptions
Back to top Generated by DocFX