Pular para o conteúdo principal

PadesVisualText

Namespace: Lacuna.Pki.Pades
Assembly: Lacuna.Pki
Class

public class PadesVisualText

Hierarquia: objectPadesVisualText

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

PadesVisualRectangle


CustomText

Custom text placed before any other text information passed.

public string CustomText { get; set; }

Retorno

string


FontColor

Sets the text font color. Default is Black.

public Color FontColor { get; set; }

Retorno

Color


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

double?


HorizontalAlign

Sets the text horizontal align. Default is Left aligned.

public PadesTextHorizontalAlign HorizontalAlign { get; set; }

Retorno

PadesTextHorizontalAlign


IncludeSigningTime

To include the signing time of the signature

public bool IncludeSigningTime { get; set; }

Retorno

bool


LineSpacing

The line spacing multiplier based on the font size.

public double? LineSpacing { get; set; }

Retorno

double?


Location

public string Location { get; set; }

Retorno

string


NationalId

public string NationalId { get; set; }

Retorno

string


Reason

public string Reason { get; set; }

Retorno

string


Role

public string Role { get; set; }

Retorno

string


SignerName

public string SignerName { get; set; }

Retorno

string


SigningTimeFormat

The signing time format pattern.

public string SigningTimeFormat { get; set; }

Retorno

string


SigningTimeFormatProvider

The signing time format provider

public IFormatProvider SigningTimeFormatProvider { get; set; }

Retorno

IFormatProvider


SigningTimeOffset

The signing time date time offset.

public TimeSpan? SigningTimeOffset { get; set; }

Retorno

TimeSpan?

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

TimeZoneInfo

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

string


VerticalAlign

Sets the text vertical align. Default is Top aligned

public PadesVerticalAlign VerticalAlign { get; set; }

Retorno

PadesVerticalAlign


Métodos

GetFormattedText(DateTimeOffset?)

For internal usage only

public string GetFormattedText(DateTimeOffset? signingTime)

Parâmetros

NomeTipoDescrição
signingTimeDateTimeOffset?

Retorno

string


Membros herdados

ToString(), Equals(object), Equals(object, object), ReferenceEquals(object, object), GetHashCode(), GetType(), MemberwiseClone()