Click or drag to resize
SignDocTextFieldAttributes Class
Attributes of a text field used for the construction of the appearance (PDF documents only). This class represents a PDF default appearance string. Modifying an object of this type does not modify the underlying field or document. Use SignDocDocument.setTextFieldAttributes() or SignDocField.setTextFieldAttributes() to update the text attributes of a field or of the document.
Inheritance Hierarchy
SystemObject
  de.softpro.signdocsdkSignDocTextFieldAttributes

Namespace: de.softpro.signdocsdk
Assembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntax
public sealed class SignDocTextFieldAttributes : IDisposable

The SignDocTextFieldAttributes type exposes the following members.

Constructors
Methods
  NameDescription
Public methodclear
Unset all attributes. isSet() will return false.
Public methodclone
Clone this object.
Public methodDispose
Releases all resources used by the SignDocTextFieldAttributes
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodgetFontName
Get the name of the font. This function returns an empty string if isSet() would return false.
Public methodgetFontResourceName
Get the resource name of the font. This function returns an empty string if isSet() would return false. Note that setting the resource name is not possible.
Public methodgetFontSize
Get the font size. This function returns 0 if isSet() would return false.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodgetRest
Get unparsed parts of default appearance string. If this function returns a non-empty string, there are unsupported operators in the default appearance string.
Public methodgetTextColor
Get the text color. This function returns null if isSet() would return false.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisSet
Check if text field attributes are set or not. If this function returns false for a SignDocTextFieldAttributes object retrieved from a text field, the document's default text field attributes will be used (if present). This function returns false for all SignDocTextFieldAttributes objects retrieved from TIFF documents (but you can set the attributes anyway, making isSet() return true).
Public methodisValid
Check if the text field attributes are valid. This function does not check if the font name refers to a valid font. This function does not check the string set by setRest().
Public methodsetFontName
Set the name of the font. The font name can be the name of a standard font, the name of an already embedded font, or the name of a font defined by a font configuration file.
Public methodsetFontSize
Set the font size.
Public methodsetRest
Set unparsed parts of default appearance string.
Public methodsetTextColor
Set the text color.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also