Show / Hide Table of Contents
Editar no GitHub

Class PadesVisualText

Inheritance
Object
PadesVisualText
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki.Pades
Assembly: Lacuna.Pki.dll
Syntax
public class PadesVisualText

Constructors

| Improve this Doc View Source

PadesVisualText()

Declaration
public PadesVisualText()

Properties

| Improve this Doc View Source

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
Type Description
PadesVisualRectangle
| Improve this Doc View Source

CustomText

Custom text placed before any other text information passed.

Declaration
public string CustomText { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

FontColor

Sets the text font color. Default is Black.

Declaration
public Color FontColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

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
Type Description
Nullable<Double>
| Improve this Doc View Source

HorizontalAlign

Sets the text horizontal align. Default is Left aligned.

Declaration
public PadesTextHorizontalAlign HorizontalAlign { get; set; }
Property Value
Type Description
PadesTextHorizontalAlign
| Improve this Doc View Source

IncludeSigningTime

To include the signing time of the signature

Declaration
public bool IncludeSigningTime { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

LineSpacing

The line spacing multiplier based on the font size.

Declaration
public double? LineSpacing { get; set; }
Property Value
Type Description
Nullable<Double>
| Improve this Doc View Source

Location

Declaration
public string Location { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

NationalId

Declaration
public string NationalId { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Reason

Declaration
public string Reason { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Role

Declaration
public string Role { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

SignerName

Declaration
public string SignerName { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

SigningTimeFormat

The signing time format pattern.

Declaration
public string SigningTimeFormat { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

SigningTimeFormatProvider

The signing time format provider

Declaration
public IFormatProvider SigningTimeFormatProvider { get; set; }
Property Value
Type Description
IFormatProvider
| Improve this Doc View Source

SigningTimeOffset

The signing time date time offset.

Declaration
public TimeSpan? SigningTimeOffset { get; set; }
Property Value
Type Description
Nullable<TimeSpan>
Remarks

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.

| Improve this Doc View Source

SigningTimeZoneInfo

The signing time date time zone info.

Declaration
public TimeZoneInfo SigningTimeZoneInfo { get; set; }
Property Value
Type Description
TimeZoneInfo
Remarks

This parameter takes precedence over SigningTimeOffset. If neither parameters are set, the machine time zone is used for conversion.

| Improve this Doc View Source

Suffix

Suffix text placed after any text information passed.

Declaration
public string Suffix { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

VerticalAlign

Sets the text vertical align. Default is Top aligned

Declaration
public PadesVerticalAlign VerticalAlign { get; set; }
Property Value
Type Description
PadesVerticalAlign

Methods

| Improve this Doc View Source

GetFormattedText(Nullable<DateTimeOffset>)

For internal usage only

Declaration
public string GetFormattedText(DateTimeOffset? signingTime)
Parameters
Type Name Description
Nullable<DateTimeOffset> signingTime
Returns
Type Description
String
Back to top Copyright © 2015-2020 Lacuna Software