Show / Hide Table of Contents

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

PadesVisualText()

Declaration
public PadesVisualText()

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
Type Description
PadesVisualRectangle

CustomText

Custom text placed before any other text information passed.

Declaration
public string CustomText { get; set; }
Property Value
Type Description
String

FontColor

Sets the text font color. Default is Black.

Declaration
public Color FontColor { get; set; }
Property Value
Type Description
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

Declaration
public double? FontSize { get; set; }
Property Value
Type Description
Nullable<Double>

HorizontalAlign

Sets the text horizontal align. Default is Left aligned.

Declaration
public PadesTextHorizontalAlign HorizontalAlign { get; set; }
Property Value
Type Description
PadesTextHorizontalAlign

IncludeSigningTime

To include the signing time of the signature

Declaration
public bool IncludeSigningTime { get; set; }
Property Value
Type Description
Boolean

LineSpacing

The line spacing multiplier based on the font size.

Declaration
public double? LineSpacing { get; set; }
Property Value
Type Description
Nullable<Double>

Location

Declaration
public string Location { get; set; }
Property Value
Type Description
String

NationalId

Declaration
public string NationalId { get; set; }
Property Value
Type Description
String

Reason

Declaration
public string Reason { get; set; }
Property Value
Type Description
String

Role

Declaration
public string Role { get; set; }
Property Value
Type Description
String

SignerName

Declaration
public string SignerName { get; set; }
Property Value
Type Description
String

SigningTimeFormat

The signing time format pattern.

Declaration
public string SigningTimeFormat { get; set; }
Property Value
Type Description
String

SigningTimeFormatProvider

The signing time format provider

Declaration
public IFormatProvider SigningTimeFormatProvider { get; set; }
Property Value
Type Description
IFormatProvider

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.

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.

Suffix

Suffix text placed after any text information passed.

Declaration
public string Suffix { get; set; }
Property Value
Type Description
String

VerticalAlign

Sets the text vertical align. Default is Top aligned

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

Methods

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