Class PadesVisualText
Inheritance
PadesVisualText
Assembly: Lacuna.Pki.dll
Syntax
public class PadesVisualText
Constructors
PadesVisualText()
Declaration
Properties
Container
Sets a text container relative to the signature rectangle. If not set,
the text will occupy all the signature rectangle.
Declaration
public PadesVisualRectangle Container { get; set; }
Property Value
CustomText
Custom text placed before any other text information passed.
Declaration
public string CustomText { get; set; }
Property Value
FontColor
Sets the text font color. Default is Black.
Declaration
public Color FontColor { get; set; }
Property Value
FontSize
The fonte size of the text in the signarure representation rectangle. If not set,
a font size will be computed in a way that all the text fits well inside the signature rectangle
Declaration
public double? FontSize { get; set; }
Property Value
HorizontalAlign
Sets the text horizontal align. Default is Left aligned.
Declaration
public PadesTextHorizontalAlign HorizontalAlign { get; set; }
Property Value
IncludeSigningTime
To include the signing time of the signature
Declaration
public bool IncludeSigningTime { get; set; }
Property Value
LineSpacing
The line spacing multiplier based on the font size.
Declaration
public double? LineSpacing { get; set; }
Property Value
Location
Declaration
public string Location { get; set; }
Property Value
NationalId
Declaration
public string NationalId { get; set; }
Property Value
Reason
Declaration
public string Reason { get; set; }
Property Value
Role
Declaration
public string Role { get; set; }
Property Value
SignerName
Declaration
public string SignerName { get; set; }
Property Value
SigningTimeFormat
The signing time format pattern.
Declaration
public string SigningTimeFormat { get; set; }
Property Value
SigningTimeFormatProvider
The signing time format provider
Declaration
public IFormatProvider SigningTimeFormatProvider { get; set; }
Property Value
SigningTimeOffset
The signing time date time offset.
Declaration
public TimeSpan? SigningTimeOffset { get; set; }
Property Value
SigningTimeZoneInfo
The signing time date time zone info.
Declaration
public TimeZoneInfo SigningTimeZoneInfo { get; set; }
Property Value
Suffix
Suffix text placed after any text information passed.
Declaration
public string Suffix { get; set; }
Property Value
VerticalAlign
Sets the text vertical align. Default is Top aligned
Declaration
public PadesVerticalAlign VerticalAlign { get; set; }
Property Value
Methods
GetFormattedText(Nullable<DateTimeOffset>)
Declaration
public string GetFormattedText(DateTimeOffset? signingTime)
Parameters
Returns