Show / Hide Table of Contents

Class PdfMarkElementExtensions

Inheritance
Object
PdfMarkElementExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.RestPki.Client.FluentApi
Assembly: Lacuna.RestPki.Client.dll
Syntax
public static class PdfMarkElementExtensions

Methods

AddSection(PdfMarkTextElement, PdfTextSection)

Declaration
public static PdfMarkTextElement AddSection(this PdfMarkTextElement element, PdfTextSection section)
Parameters
Type Name Description
PdfMarkTextElement element
PdfTextSection section
Returns
Type Description
PdfMarkTextElement

AddSection(PdfMarkTextElement, String)

Declaration
public static PdfMarkTextElement AddSection(this PdfMarkTextElement element, string text)
Parameters
Type Name Description
PdfMarkTextElement element
String text
Returns
Type Description
PdfMarkTextElement

AlignTextCenter(PdfMarkTextElement)

Declaration
public static PdfMarkTextElement AlignTextCenter(this PdfMarkTextElement element)
Parameters
Type Name Description
PdfMarkTextElement element
Returns
Type Description
PdfMarkTextElement

AlignTextLeft(PdfMarkTextElement)

Declaration
public static PdfMarkTextElement AlignTextLeft(this PdfMarkTextElement element)
Parameters
Type Name Description
PdfMarkTextElement element
Returns
Type Description
PdfMarkTextElement

AlignTextRight(PdfMarkTextElement)

Declaration
public static PdfMarkTextElement AlignTextRight(this PdfMarkTextElement element)
Parameters
Type Name Description
PdfMarkTextElement element
Returns
Type Description
PdfMarkTextElement

DrawQuietZones(PdfMarkQRCodeElement)

Declaration
public static PdfMarkQRCodeElement DrawQuietZones(this PdfMarkQRCodeElement element)
Parameters
Type Name Description
PdfMarkQRCodeElement element
Returns
Type Description
PdfMarkQRCodeElement

OnContainer<T>(T, PadesVisualRectangle)

Declaration
public static T OnContainer<T>(this T element, PadesVisualRectangle relativeContainer)

    where T : PdfMarkElement
Parameters
Type Name Description
T element
PadesVisualRectangle relativeContainer
Returns
Type Description
T
Type Parameters
Name Description
T

Rotate180<T>(T)

Declaration
public static T Rotate180<T>(this T element)

    where T : PdfMarkElement
Parameters
Type Name Description
T element
Returns
Type Description
T
Type Parameters
Name Description
T

Rotate90Clockwise<T>(T)

Declaration
public static T Rotate90Clockwise<T>(this T element)

    where T : PdfMarkElement
Parameters
Type Name Description
T element
Returns
Type Description
T
Type Parameters
Name Description
T

Rotate90Counterclockwise<T>(T)

Declaration
public static T Rotate90Counterclockwise<T>(this T element)

    where T : PdfMarkElement
Parameters
Type Name Description
T element
Returns
Type Description
T
Type Parameters
Name Description
T

VerticalAlignTextBottom(PdfMarkTextElement)

Declaration
public static PdfMarkTextElement VerticalAlignTextBottom(this PdfMarkTextElement element)
Parameters
Type Name Description
PdfMarkTextElement element
Returns
Type Description
PdfMarkTextElement

VerticalAlignTextCenter(PdfMarkTextElement)

Declaration
public static PdfMarkTextElement VerticalAlignTextCenter(this PdfMarkTextElement element)
Parameters
Type Name Description
PdfMarkTextElement element
Returns
Type Description
PdfMarkTextElement

VerticalAlignTextTop(PdfMarkTextElement)

Declaration
public static PdfMarkTextElement VerticalAlignTextTop(this PdfMarkTextElement element)
Parameters
Type Name Description
PdfMarkTextElement element
Returns
Type Description
PdfMarkTextElement

WithImage(PdfMarkImageElement, PdfMarkImage)

Declaration
public static PdfMarkImageElement WithImage(this PdfMarkImageElement element, PdfMarkImage image)
Parameters
Type Name Description
PdfMarkImageElement element
PdfMarkImage image
Returns
Type Description
PdfMarkImageElement

WithImage(PdfMarkImageElement, Byte[], String)

Declaration
public static PdfMarkImageElement WithImage(this PdfMarkImageElement element, byte[] imageContent, string mimeType)
Parameters
Type Name Description
PdfMarkImageElement element
Byte[] imageContent
String mimeType
Returns
Type Description
PdfMarkImageElement

WithOpacity<T>(T, Double)

Declaration
public static T WithOpacity<T>(this T element, double opacity)

    where T : PdfMarkElement
Parameters
Type Name Description
T element
Double opacity
Returns
Type Description
T
Type Parameters
Name Description
T

WithQRCodeData(PdfMarkQRCodeElement, String)

Declaration
public static PdfMarkQRCodeElement WithQRCodeData(this PdfMarkQRCodeElement element, string qrCodeData)
Parameters
Type Name Description
PdfMarkQRCodeElement element
String qrCodeData
Returns
Type Description
PdfMarkQRCodeElement

WithRotation<T>(T, Int32)

Declaration
public static T WithRotation<T>(this T element, int rotation)

    where T : PdfMarkElement
Parameters
Type Name Description
T element
Int32 rotation
Returns
Type Description
T
Type Parameters
Name Description
T
Back to top Copyright © 2015-2020 Lacuna Software