PadesVisualText
Namespace: Lacuna.Pki.Pades
Assembly: Lacuna.Pki
Class
public class PadesVisualText
Hierarquia: object → PadesVisualText
Construtores
PadesVisualText()
public PadesVisualText()
Propriedades
Container
Sets a text container relative to the signature rectangle. If not set, the text will occupy all the signature rectangle.
public PadesVisualRectangle Container { get; set; }
Retorno
CustomText
Custom text placed before any other text information passed.
public string CustomText { get; set; }
Retorno
FontColor
Sets the text font color. Default is Black.
public Color FontColor { get; set; }
Retorno
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
public double? FontSize { get; set; }
Retorno
HorizontalAlign
Sets the text horizontal align. Default is Left aligned.
public PadesTextHorizontalAlign HorizontalAlign { get; set; }
Retorno
IncludeSigningTime
To include the signing time of the signature
public bool IncludeSigningTime { get; set; }
Retorno
LineSpacing
The line spacing multiplier based on the font size.
public double? LineSpacing { get; set; }
Retorno
Location
public string Location { get; set; }
Retorno
NationalId
public string NationalId { get; set; }
Retorno
Reason
public string Reason { get; set; }
Retorno
Role
public string Role { get; set; }
Retorno
SignerName
public string SignerName { get; set; }
Retorno
SigningTimeFormat
The signing time format pattern.
public string SigningTimeFormat { get; set; }
Retorno
SigningTimeFormatProvider
The signing time format provider
public IFormatProvider SigningTimeFormatProvider { get; set; }
Retorno
SigningTimeOffset
The signing time date time offset.
public TimeSpan? SigningTimeOffset { get; set; }
Retorno
Comentários
The parameter SigningTimeZoneInfo takes precedence over this parameter. Therefore, in order to specify an offset, do not specify the time zone info. If neither parameters are set, the machine time zone is used for conversion.
SigningTimeZoneInfo
The signing time date time zone info.
public TimeZoneInfo SigningTimeZoneInfo { get; set; }
Retorno
Comentários
This parameter takes precedence over SigningTimeOffset. If neither parameters are set, the machine time zone is used for conversion.
Suffix
Suffix text placed after any text information passed.
public string Suffix { get; set; }
Retorno
VerticalAlign
Sets the text vertical align. Default is Top aligned
public PadesVerticalAlign VerticalAlign { get; set; }
Retorno
Métodos
GetFormattedText(DateTimeOffset?)
For internal usage only
public string GetFormattedText(DateTimeOffset? signingTime)
Parâmetros
| Nome | Tipo | Descrição |
|---|---|---|
signingTime | DateTimeOffset? |
Retorno
Membros herdados
ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()